This page takes the launch-review deck from the quickstart to three slides: a row of numbers, a list revealed one point at a time, and speaker notes on every slide. You fix one lint warning on the way and finish with a PNG, a PDF and a PowerPoint file. Keep deck dev launch-review running in one terminal and run the commands below in a second one, inside talks.
Add a slide with numbers
-
Add a slide that uses the
statslayout:$ deck new slide launch-review results --layout stats decks/launch-review/slides/results.mdx decks/launch-review/deck.config.tsThe CLI writes
slides/results.mdxfrom the layout’s example, with the title made from the id, and appendsresultstoslidesindeck.config.ts.deck layoutslists the 63 layouts you can pass to--layout; without it the slide usesdefault. -
Open
decks/launch-review/slides/results.mdxand replace the example with your numbers. Thestatslayout takes two to fourstats, each with avalue(up to 8 characters) and alabel;delta,toneandhighlightare optional. Write the title as the point the numbers make:--- layout: stats title: Beta retention beat the target by 21 points budget: 1m stats: - value: "4,100" label: teams signed up in the first week - value: "68%" label: still active after 30 days delta: "+21 pts vs. target" tone: positive highlight: true - value: "1.9 days" label: median time to first deck --- <Footnote>Beta cohort, 1 to 31 October.</Footnote> <Notes> Lead with retention: it is the number the board asked about. </Notes>Saved, the slide looks like this:

Save, then press the right arrow to move to the new slide (or open
#/resultsin the address bar): the browser stays on the slide it was showing when the deck gained one. From then on the slide reloads each time you save.budget: 1mis the time you plan to spend on it:deck lintreports an error when the budgets add up to more than the deck’sduration(20 minutes here). Every field a layout takes is on that layout’s page under layouts.
Reveal points one at a time
A <Step at={n}> block appears from step n of its slide on. Each slide starts at step 0, and the arrow keys move through the steps before moving to the next slide. The steps slide of the hello deck shows it:
---
layout: default
title: How steps work
budget: 1m30s
---
## How steps work
<Step at={1}>
- Each slide has one integer step, starting at 0.
</Step>
<Step at={2}>
- `<Step at={n}>` reveals its content from step n on.
</Step>
<Step at={3}>
- Going back into a slide lands on its last step.
</Step>
<Notes>
Press the right arrow three times to reveal each point.
Mention that the step count comes from the steps that mount.
</Notes>Slide 2 of the hello deckView on GitHub
-
Add a slide with the
defaultlayout:$ deck new slide launch-review next-steps decks/launch-review/slides/next-steps.mdx decks/launch-review/deck.config.tsIts example already uses
<Step>. -
Replace its content with three points, one per step, and leave out the notes for now:
--- layout: default title: Next steps budget: 1m --- ## Next steps <Step at={1}> - Open the beta to every team on 1 December. </Step> <Step at={2}> - Ship the export to PowerPoint before the sales kick-off. </Step> <Step at={3}> - Review retention again at 90 days. </Step>On the
defaultlayout the##heading is what shows on the slide;title:names the slide in the sidebar and the presenter window.In the browser, go to the slide (press
g, type 3, press Enter), then press the right arrow three times: one point appears per press.
This is the same build, frame by frame, on a slide of the showcase deck:
Builds covers step effects and building charts, diagrams and code.
Fix a lint finding
-
Lint the deck:
$ deck lint launch-review decks/launch-review/slides/next-steps.mdx warning missing-notes (next-steps): The slide has no speaker notes. Fix: Add a `<Notes>` block saying what the slide proves and what to say, in a sentence or two. launch-review: 0 errors, 1 warning in 3 slides (6 steps checked).Each finding names the file, the severity, the rule (
missing-notes), the slide and the fix. Warnings leave the exit code at 0; errors make it 1. The deck has six steps: one each fortitleandresults, four fornext-steps(0 to 3). -
Do what the
Fix:line says. Add notes at the end ofnext-steps.mdx:<Notes> Three dates, one per key press. Ask for a decision on the first one. </Notes>Notes show in the presenter window and never on the slide. Speaker notes has more.
-
Lint again:
$ deck lint launch-review launch-review: no problems in 3 slides (6 steps checked).
Reading findings is on Lint, and every rule with its fix on lint rules.
Get pictures and files out
-
Take a screenshot of one slide, by id or by number:
$ deck shot launch-review results /Users/you/talks/.deck/shots/launch-review/02-results.pngThe CLI prints the absolute path of each 1920×1080 PNG it writes (yours starts with your own workspace path). Files are named by position and id,
NN-id.png. With--stepsyou get one per step, such as03-next-steps.step0.pngto03-next-steps.step3.png; without it, each slide is captured at its last step. See Screenshots. -
Export the deck:
$ deck export launch-review /Users/you/talks/.deck/exports/launch-review/launch-review.pdf (3 pages, 3 bookmarks, 0 slide links, 0 external links) /Users/you/talks/.deck/exports/launch-review/launch-review.pptx (3 slides, hybrid mode, masters: default, gradient, fonts embedded: Bricolage Deck Display, Bricolage Deck Headline, Bricolage Deck Label, Bricolage Deck Stat, Inter Deck Caption, Inter Deck Lead) /Users/you/talks/.deck/exports/launch-review/fonts: 6 static TrueType instance(s) in 6 families (Bricolage Deck Display, Bricolage Deck Headline, Bricolage Deck Label, Bricolage Deck Stat, Inter Deck Caption, Inter Deck Lead), cut from the brand fonts at the exact axes the deck uses and embedded in the PPTX; install them where an app ignores embedded fonts (Keynote, Google Slides, LibreOffice).Without a format flag,
deck exportwrites the PDF and the PowerPoint file to.deck/exports/launch-review/, plus the font files the PowerPoint file embeds. Each page or slide shows a slide at its last step. PDF and PowerPoint cover the options.
Your deck now has three slides, and deck.config.ts lists them in order:
slides: ['title', 'results', 'next-steps'],To reorder slides, reorder that list. MDX slides covers what else a slide file can hold.
Next
- Give the talk: press
pin the browser for the presenter window, or rundeck present launch-review. See presenter tools. - Share it as a link: build and host.
- Let an agent write the next one: skills.





