Convert Markdown documents to professionally typeset PDF files. Primary engine: reportlab (cover pages, frontispiece, back cover, bookmarks). Fallback engine: pandoc + XeLaTeX (better table handling, LaTeX-quality typesetting). Handles CJK/Latin mixed text, fenced code blocks, tables, blockquotes, Obsidian callouts, inline images, emoji fallback, LaTeX-style formulas, clickable TOC, watermarks, headers/footers, and page numbers. Supports multiple color themes and is battle-tested for Chinese technical reports. Trigger when user mentions "markdown to PDF", "md2pdf", "any2pdf", "md转pdf", "报告生成", "导出pdf", or wants a professionally formatted PDF from markdown.
$npx -y skills add lovstudio/any2pdf-skill --skill any2pdf-skillInstalls into the current project.
Run `npx skills use "https://github.com/lovstudio/any2pdf-skill" --skill "lovstudio/any2pdf-skill"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/lovstudio/any2pdf-skill" that are relevant to the current task. Run `npx skills add "https://github.com/lovstudio/any2pdf-skill"` and select the relevant skills, then follow their instructions.