The Component Workshop Meet the building blocks01 / 04

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 CONTENT

The 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:

![Describe the exchange for someone who cannot see the image.](/diagrams/auth-exchange.svg)

An example of a diagram embedded using standard Markdown.

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.

DevOps engineering responsibilities

Build

Infrastructure & Operations

Provision and maintain the systems applications run on.

  • System administration: Manage operating systems, users, permissions, and filesystems.
  • Networking and storage: Configure networks, subnets, and persistent volumes.
  • Operations: Maintain backups, system health, and database persistence.

Design

Architecture & Design

Choose an architecture that fits the application’s needs and constraints.

  • System design: Decide how services communicate and where boundaries belong.
  • Availability and scalability: Plan for traffic changes and failures.
  • Cloud architecture: Evaluate managed services against the cost of operating your own.

Automate

Automation & Tooling

Make recurring work reproducible and easier to inspect.

  • Automation: Replace repeated manual actions with code.
  • Scripting: Connect tools and remove repetitive handoffs.
  • Infrastructure as code: Describe infrastructure in versioned configuration.

Release

Release Engineering & Software Supply Chain

Help changes reach users through a repeatable delivery process.

  • Dependencies: Track libraries and produce a software bill of materials.
  • Deployment: Choose rollout and rollback strategies suited to the system.
  • Artifacts: Store and trace the binaries and images used in a release.
<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.

EXPLORE THE DIAGRAM

A deployment pipeline

Experiment freely. Changes disappear when you reset or refresh.

Preview of A deployment pipeline

<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.

A LITTLE CLEARER?

Take a moment to explain the idea in your own words.

Progress is saved in this browser.

The Component Workshop

Course overview ↗