← ClaudeAtlas

markdown-to-pdflisted

Convert markdown files to beautifully formatted PDFs with dark mode support. This skill should be used when users want to export markdown documents to PDF format, especially when they need dark themes, proper ASCII diagram rendering, or professional formatting for tables with icons.
matthull/my-skills · ★ 0 · Data & Documents · score 72
Install: claude install-skill matthull/my-skills
# Markdown to PDF Skill Convert markdown documents to high-quality PDFs with dark mode support, proper ASCII diagram rendering, and professional table formatting. ## Features - **Dark mode theme** (default) with Catppuccin Mocha colors - **Light mode theme** with Catppuccin Latte colors - **Print mode theme** - printer-friendly black & white, high contrast - **ASCII diagram support** with proper monospace font alignment - **Unicode icon support** (checkmarks, emojis, etc.) - **Professional table formatting** with alternating row colors - **Code block syntax highlighting** optimized for readability ## Usage ### Basic Conversion (Dark Mode) ```bash python ~/.claude/skills/markdown-to-pdf/scripts/md2pdf.py document.md ``` ### Specify Output File ```bash python ~/.claude/skills/markdown-to-pdf/scripts/md2pdf.py document.md -o output.pdf ``` ### Light Mode ```bash python ~/.claude/skills/markdown-to-pdf/scripts/md2pdf.py document.md --light ``` ### Print Mode (Black & White) ```bash python ~/.claude/skills/markdown-to-pdf/scripts/md2pdf.py document.md --print ``` Best for physical printing - uses only black, white, and grays for maximum legibility and toner efficiency. ### Custom CSS ```bash python ~/.claude/skills/markdown-to-pdf/scripts/md2pdf.py document.md --css custom.css ``` ### Send to Printer Add `--print-to` to send the PDF directly to a printer after conversion: ```bash python ~/.claude/skills/markdown-to-pdf/scripts/md2pdf.py document.md --print --prin