SECTION 01 · 5 MIN READ & EXPLORE
A chapter starts with Markdown
Keep the writing simple, then add a component where it earns its place.
DEMONSTRATION CONTENTThe component reference has a live example and copyable MDX for every chapter component.
This platform starts with a file. Each chapter is an MDX document, grouped into a section folder inside a course folder.
src/content/courses/
your-course/
first-section/
first-chapter.mdx
Give the chapter a little context
Frontmatter provides the chapter title, description, display order, and estimated learning time:
---
title: Follow the request
description: Watch a client and server exchange an authentication challenge.
order: 1
minutes: 6
---
The filename supplies the stable chapter slug. Change order to rearrange content without changing the link. Renaming the file or its parent folders changes its URL.
Markdown does most of the work
Use headings to structure the argument, lists for steps, and fenced code blocks for commands and configuration. Embed a diagram with ordinary image syntax:

The next chapters demonstrate the custom components. They are available by name in course MDX without per-file imports.
Break a long overview into slides
Use a slide card when a topic has several distinct areas. Each slide stays ordinary Markdown, with one area visible at a time. “Show all” lets learners scan or compare the full overview. The following is a component example, rather than a complete definition of the role.
<Slides title="Areas of responsibility">
<Slide label="Build" title="Infrastructure & Operations">
A short introduction.
- **System administration:** Manage operating systems and permissions.
- **Networking:** Configure networks and subnets.
</Slide>
<Slide label="Design" title="Architecture & Design">
Another area, written in Markdown.
</Slide>
</Slides>
Leave blank lines around the Markdown inside each Slide. Controls appear for two or more slides. Each card keeps its own position when switching between slides and “Show all.” Without JavaScript, or when printing, every slide remains available.
Explore a diagram in a sandbox
Move a shape, draw an arrow, or annotate a step. Your edits do not change the course file. Use Reset board to start again, or Fullscreen for more space.
A deployment pipeline
Experiment freely. Changes disappear when you reset or refresh.
<Board
title="A deployment pipeline"
src="/boards/deployment.excalidraw"
preview="/boards/deployment.svg"
/>
Export your scene from Excalidraw as a .excalidraw file and place it in public/boards/. The optional SVG preview is a separate export. Replace those files and rebuild to update the original. The sandbox loads only when requested and forgets edits on refresh.
Take a moment to explain the idea in your own words.