md2pdf
FeaturedConvert a Markdown file to PDF with GitHub-style formatting using the md2pdf tool.
Install
Quality Score: 89/100
Skill Content
Details
- Author
- joshukraine
- Repository
- joshukraine/dotfiles
- Created
- 12 years ago
- Last Updated
- 4 weeks ago
- Language
- Shell
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
md2pdf
Use when the user wants to convert one Markdown file into a publication-ready A4 PDF, especially when the source may contain Mermaid diagrams, ASCII diagrams, CJK text, tables, or pandoc/weasyprint edge cases. Works by copying the source to a _pdf.md working file, converting diagrams, escaping PDF-breaking syntax, balancing table column widths, rendering with pandoc + weasyprint, then self-checking pages by ink coverage. Cleans up intermediates only after the user calls the version final. NOT for batch conversion, slide decks, or editing the original Markdown in place.
md2pdf
Convert Markdown to PDF with proper Japanese typography via pandoc + weasyprint. Use when asked to create / generate a PDF from a markdown file, convert md to PDF, or produce a printable document. Handles CJK fonts, tables, code blocks, SVG images, and mermaid diagrams. Triggers: "PDFにして", "PDF作成", "md to pdf", "ドキュメントをPDFに".
md-to-pdf
Convert Markdown to PDF via reportlab or weasyprint engines. Triggers - pdf, md to pdf, markdown to pdf, generate pdf.