
Markdown to professionally typeset PDF with reportlab. CJK/Latin mixed text, code blocks, tables, cover pages, TOC, bookmarks, watermarks, and 14 color themes.
Part of lovstudio/skills — by lovstudio.ai
npx skills add lovstudio/skills --skill lovstudio:any2pdf
Requires: Python 3.8+ and pip install reportlab
python md2pdf.py --input report.md --output report.pdf --theme warm-academic
| Option |
Default |
Description |
--input |
(required) |
Markdown file path |
--output |
output.pdf |
Output PDF path |
--title |
From H1 |
Cover page title |
--subtitle |
|
Subtitle |
--author |
|
Author name |
--theme |
warm-academic |
Color theme |
--watermark |
|
Watermark text |
--cover |
true |
Generate cover page |
--toc |
true |
Generate table of contents |
--frontispiece |
|
Full-page image after cover |
| warm-academic |
nord-frost |
github-light |
solarized-light |
 |
 |
 |
 |
| paper-classic |
ocean-breeze |
tufte |
classic-thesis |
 |
 |
 |
 |
| ieee-journal |
elegant-book |
chinese-red |
ink-wash |
 |
 |
 |
 |
| monokai-warm |
dracula-soft |
 |
 |
MIT