From text-utils
Use when the user wants to render markdown as a PDF, create a printable document, or generate a styled PDF from text. Triggers on "make a PDF", "render this to PDF", "printable version", "export as PDF".
How this skill is triggered — by the user, by Claude, or both
Slash command
/text-utils:markdown-to-pdfThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Render markdown to styled PDF using pandoc + weasyprint + CSS.
Render markdown to styled PDF using pandoc + weasyprint + CSS.
pandoc "$INPUT" -t html --standalone --css="$THEME" | weasyprint - "$OUTPUT"
Three CSS themes ship in this skill's directory. Read them for the full font stacks and styling.
default.css — Charter body, Fira Sans headings, ~75 character measureediting.css — same as default, double-spaced for reviewcorrespondence.css — PT Serif/PT Sans, 11pt, black-on-white, faxableAll themes use cross-platform font stacks (macOS, Windows, Linux, Android, iOS) with page numbers.
To customize: read a theme file, make the requested changes, and write it back or to a new file.
| Need | Flag |
|---|---|
| Table of contents | --toc |
| Numbered sections | --number-sections |
| Custom title/author | --metadata title="..." --metadata author="..." |
pandocweasyprintmacOS: brew install pandoc weasyprint
Debian/Ubuntu: sudo apt install pandoc weasyprint
pandoc -o output.docx instead, skip weasyprintnpx claudepluginhub jackwillis/claude-plugins --plugin text-utilsRenders a polished markdown report to a letter-size PDF using pandoc with xelatex (11pt serif, 1-inch margins, numbered footnotes). Fails loudly with install instructions if pandoc or xelatex is missing.
Converts Markdown documents to professionally typeset PDFs using reportlab (primary) or pandoc+XeLaTeX (fallback). Handles CJK/Latin mixed text, code blocks, tables, Obsidian callouts, math formulas, and 14 color themes. Triggered by "markdown to PDF", "md2pdf", "any2pdf", or export requests.
Generates styled PDF books from directories of ordered markdown chapters using pandoc and weasyprint, with TOC, page numbers, and resolved inter-chapter links.