html-to-pdf
Installation
SKILL.md
HTML to PDF
Chromium renders the file exactly as a browser would — @page, flexbox, grid,
webfonts, SVG, @media print, and JavaScript all work — and writes a PDF.
Source: the option surface and troubleshooting come from
html-to-pdf-skill; the deck
capture from frontend-slides.
See the plugin's NOTICE.md.
Pick the mode first
This is the only decision that matters, and getting it wrong produces a PDF that looks plausible in the file listing and is wrong when opened.
| Input | Mode |
|---|---|
| Report, one-pager, explainer, dashboard — anything that scrolls | --mode page (default) |
Slide deck whose slides carry class="slide" |
--mode slides |