Docs / Language reference
Language reference
The .slaide deck language: file structure, slots, layouts, builds, notes, styling, and media.
A deck is one .slaide file. It starts with a config block called headmatter. After that come the slides. The design lives in a separate, reusable master. You write Markdown. The master carries the look.
The rule: keep slide content in Markdown. Put config in the small fenced blocks. Reference layouts, colors, and fonts by name from the master. Only reach for manual positioning when a layout cannot do the job.
The pages below walk through the language one piece at a time.
File structure
Headmatter, slide separators, and per-slide frontmatter.
Slots & layouts
Route Markdown into named layout regions with the :: name :: marker.
Inline styling
Style a span of text with chainable dot-classes. Color, size, and gradient.
Builds & notes
Reveal content step by step, attach speaker notes, and animate between slides.
Media & embeds
Images, video, audio, charts, tables, sandboxed embeds, themed widgets, and inline SVG.
Master file
The .slaide.yaml master: the YAML file that holds a deck's whole design.