Slide Deck Templates
The presentation generator renders Markdown into a self-contained HTML viewer, a PDF, and per-slide PNGs.
Each slide picks a layout via an HTML-comment directive (<!-- @type: title -->).
Slide thumbnails below are auto-regenerated from the canonical showcase deck whenever you run
npm run build:assets — so this page always reflects the current state of the template.
npm run pres -- previews/decks/my-deck.md -o previews/decks/my-deck --pdf --png
HTML passthrough + components
The @type: html slide hands the body to the viewer unchanged, so you can embed components
from brand/components/. The canonical example is the radar chart on slide 7 of the showcase —
a portable copy of the same chart used on the website quiz.
Component files live in brand/components/*.js and are auto-copied into each deck's output directory
so the viewer can load them via <script src="components/radar.js"></script>.
Source: previews/showcase/slide-types.md. Regenerate thumbnails with npm run build:assets.