Markdown To PDF

Convert Markdown (.md) files to a polished PDF with ALL images preserved and scaled to the page. Use whenever the user asks to "save this markdown as a PDF", "convert README.md to pdf", "export the .md as a pdf", "turn these notes/docs into a PDF", or wants a PDF deliverable of any GitHub-flavored Markdown document (README, design doc, report, notes) — especially when it contains images or diagrams (remote or local), tables, code blocks, or a linked table of contents. Pipeline: pandoc (GFM → standalone HTML with embedded resources) → headless Chrome print-to-pdf with a GitHub-like print stylesheet → pypdf verification that every referenced image is embedded. Do NOT use for .tex → PDF (use a LaTeX toolchain) or for .docx work (use word-docx / tex2docx).

kennethkhoocy 8b07ad5 4 files · 20.7 KB Updated

File contents

kennethkhoocy/legal-scholarship-skills/tree/main/plugins/legal-scholarship/skills/markdown-to-pdf commit 8b07ad5138

Frequently asked questions

npx skillmds@latest add kennethkhoocy/markdown-to-pdf