| name | markdown-pdf |
| description | Use this skill when the user wants to convert Markdown documents to PDF with syntax highlighting, custom CSS, and professional typography. |
markdown-pdf Plugin
markdown-pdf converts Markdown files to PDFs using Electron-based rendering. Supports custom CSS, syntax highlighting, headers/footers, and multiple page sizes.
Commands
markdown-pdf _ _ <args> — Passthrough
Usage Examples
- "convert README.md to PDF"
- "convert multiple markdown files to a single PDF"
- "apply custom stylesheet during PDF generation"
- "generate PDF with page numbers in the footer"
Installation
npm install -g markdown-pdf
Key Features
- Markdown to PDF conversion with syntax highlighting
- Custom CSS stylesheet support
- Multiple page sizes (A4, Letter, etc.)
- Headers and footers support
- Page breaks configuration
- Table of contents generation
- Consistent cross-platform rendering
- Batch file processing