What problem does it solve?
This tool streamlines the creation of publication-quality PDFs from Markdown, eliminating manual layout, font tuning, and formatting work. It supports mixed Chinese and Latin text, code blocks, tables, covers, TOC, and PDF bookmarks, delivering consistent typography and professional appearance. It also expands Obsidian vault links and offers optional Markdown cleanup pipelines.
Core Features & Use Cases
- High-fidelity Markdown→PDF conversion with themes, cover pages, and clickable TOC.
- Automatic PDF bookmarks, per-chapter outlines, and running headers for navigation.
- Obsidian vault link expansion and optional Markdown cleanup to normalize inputs.
- Use case: generate a conference proceedings PDF from a large Markdown file containing math-free content with CJK text.
Quick Start
Run the md2pdf_v3.py script with an input Markdown file to generate a formatted PDF.