Built-in Templates Overview
@sullux/markdown-slides includes a suite of responsive slide templates designed to interpret semantic Markdown blocks into clean presentation layouts.
Available Templates
| Template | Primary Use Case | Partition Syntax |
|---|---|---|
| Title/Content | Standard presentation slide with top title bar and flexible body. | Single slide body |
| Header/Columns/Footer | Multi-column comparison or data layout with persistent header and footer. | --- thematic breaks |
| Cover | Centered presentation splash screen for titles, subtitles, and author info. | H1, H2, metadata |
| Split | Side-by-side columns without header or footer margins. | --- thematic breaks |
| Canvas | 2D spatial positioning of icons, diagrams, and components. | layout: frontmatter coordinates |
| Media | Unpadded full-bleed slide canvas for diagrams, photos, or code demos. | Full canvas |
| Quote | Large typographic statement slide centering a key takeaway or quote. | Blockquote > |
Setting Templates
Templates can be configured at the presentation level or on individual slides:
Default Deck Template (slides.yaml)
template: Title/Content
Per-Slide Frontmatter Override
---
template: Cover
---
# Welcome
Per-Slide in slides.yaml
slides:
- file: 01-intro.md
template: Cover
- file: 02-comparison.md
template: Header/Columns/Footer