Write a step-by-step codelab in one markdown file (## Step 0, ## Step 1…) and preview it live: steps, timer, slides, YouTube, copyable code and a finish line. Export it as one HTML file.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Write a step-by-step codelab in one markdown file and see it as an interactive lab while you type.
Features
Live preview beside your file. Steps, progress, time left, copyable code, callouts, slides with arrow buttons, YouTube videos, and the "Congratulations!" pop-up at the end. It follows your editor's light or dark theme.
Follows your cursor. Move into ## Step 3 and the preview shows Step 3. Click a step in the preview and the editor jumps to it.
Export as HTML. Saves one self-contained file, with images packed in, that you can host anywhere or send to attendees.
New Lab from Template. Opens a lab that demonstrates every feature.
Insert Next Step (Ctrl+Alt+S / Cmd+Alt+S) adds ## Step N: with the right number.
Snippets:steplab (new lab), step0, step, slides, youtube, note, tip, warning. In markdown files, type the name and press Ctrl+Space to see them (markdown hides suggestions by default).
Warnings for out-of-order step numbers and image paths that don't exist.
Step outline in the Outline view and Go to Symbol (Ctrl+Shift+O / Cmd+Shift+O).
The format
---
title: Build your first chatbot
author: Your Name
---
## Step 0: Overview
Duration: 2
What you'll build.
## Step 1: Set up
Duration: 5
```bash
pip install flask
```
Open the preview with the ▶ button in the editor title bar, or Ctrl+Alt+L / Cmd+Alt+L.