What problem does it solve?
This skill eliminates the tedious manual work of turning Markdown documents into well-formatted PDFs, enabling consistent, publication-ready output with support for multiple templates and Chinese typography.
Core Features & Use Cases
- WeasyPrint-based rendering for high-quality PDFs without requiring a browser engine.
- Built-in templates (default, modern, code-highlight, chinese-default, chinese-modern) and automatic template selection for Chinese text or code blocks.
- A batch conversion script that can process multiple Markdown files in parallel, with optional output directory and per-file template selection.
- Chinese font support and typography improvements for Chinese documents, including font fallbacks and indentation.
- Use Case: convert a folder of docs into a PDF handbook with consistent styling.
Quick Start
Convert a Markdown document to a PDF using the built-in templates.