Export and build
Turn docs into standalone HTML pages, slide decks, PDFs, or a full static site.
HTML exports include styles and SVG diagrams in the file. File size depends on the document and renderer version. Slide decks include JavaScript for navigation and step reveals.
See Configuration for color schemes. Print and PDF use the light scheme.
chiltepin <file.md>
Render one doc and open it in your browser — the fastest preview. The same as
chiltepin html <file> -p.
chiltepin docs/orders.mdchiltepin html
Render one doc to a standalone HTML file.
chiltepin html docs/orders.md # writes docs/orders.html next to the source
chiltepin html docs/orders.md -o out.html # choose the output path
chiltepin html docs/orders.md -p # render to a temp file and open it
chiltepin html docs/orders.md --size lg # page width: sm 720 · md 960 · lg 1280 · xl 1600 pxchiltepin slides
Render one doc to a self-contained slide deck — one slide per heading. See Present commands and Slides & decks.
chiltepin slides docs/plan.md -p # open the doc as a deck
chiltepin slides docs/plan.md -o deck.html # write the deck to a filechiltepin pdf
Render one doc to a PDF.
chiltepin pdf docs/plan.md # → docs/plan.pdf
chiltepin pdf docs/plan.md -o out/plan.pdf # choose the output pathPDF export needs Chromium, which downloads on first use. To
install it ahead of time: npx playwright install chromium.
chiltepin build
Build a static site from all docs — an index page, sidebar navigation, cross-doc links, and a Doc | Slides toggle on every page.
chiltepin build # → dist/ (--out <dir>)
chiltepin build --no-rich-index # the plain card-grid index instead of the TLDR + doc mapThe live demo on this site is exactly this: chiltepin build run on this
repo's own docs.
A live local site
Want to browse the built site while you edit? In
chiltepin studio, Site ↗ opens the same site
chiltepin build produces in a new tab — one click away, rebuilt on every save.