mcpField
M
md-to-pdf

md-to-pdf

github.com/willseedDocuments0185 installsUpdated 34w ago
Repository

About md-to-pdf

A Node.js and TypeScript skill for converting Markdown files to PDF. It covers the conversion command, input and output options, and supported basic Markdown elements.

Key features

  1. 01Markdown-to-PDF conversion
  2. 02Required input path option
  3. 03Optional output path option
  4. 04Basic Markdown rendering

Use cases

  1. 01Exporting a Markdown document as PDF
  2. 02Choosing where the generated PDF is saved

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/willseed/md-2-pdf --skill md-to-pdf

After installing, type/md-to-pdfin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

.gitignore
LICENSE
README.md
package.json
eslint.config.mjs
tsconfig.json
package-lock.json
scripts/
md_to_pdf.ts
tests/
table-layout.spec.js
tests/fixtures/
table-layout.md

Details

From the project README

Markdown to PDF (Node.js + TypeScript)

Quick start

Use the included TypeScript script:

cd /Users/willseed/GitRepo/skill/md-to-pdf
npm install
npm run convert -- --input /path/to/file.md --output /path/to/file.pdf

Notes

  • Required argument: --input (or -i)
  • Optional argument: --output (or -o)
  • If --output is omitted, the script writes PDF next to the source markdown file.
  • Supports basic markdown rendering: headings, lists, blockquotes, horizontal rules, and fenced code blocks.

Comments

Markdown supported