marp/decks/<slug>.md
/slides/<slug>/
lead
divider
Set one per slide with <!-- _class: divider -->.
<!-- _class: divider -->
def build(deck: Path) -> Path: out = STATIC / "slides" / deck.stem / "index.html" out.parent.mkdir(parents=True, exist_ok=True) return out
Anything above ~24 lines will overflow — split the slide instead of shrinking it.
Put deck assets in marp/assets/ and reference them relatively:
marp/assets/

The build runs with --allow-local-files, so local images are inlined.
--allow-local-files