Command-line converter that exports Markdown files to PDF with Node.js and TypeScript.

CCM score
41 of 100
skills.sh installs
186
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers converting a single .md file into a .pdf through one npm run convert command
  • Takes a required --input (or -i) path and an optional --output (or -o) path
  • Writes the PDF beside the source file when --output is omitted, so no path is required
  • Renders headings, lists, blockquotes, horizontal rules, and fenced code blocks; other Markdown syntax is not described

Install

$ npx -y skills add willseed/md-2-pdf --skill md-to-pdf -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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.

Details

Repository
github.com/willseed/md-2-pdf
Categories
Office Files & Slides, Technical Documentation, CLI & Terminal
First seen
Jun 3, 2026

Similar to Md To Pdf

More Office Files & Slides