Getting Started
Install
Section titled “Install”Clone the repository and install dependencies:
git clone --branch v0.9.0 https://github.com/peas/stellardeck.gitcd stellardecknpm installRun a sample
Section titled “Run a sample”Open one of the included sample decks in your browser:
npm run preview -- demo/bean-to-bar-chocolate.mdThis starts a local server and opens the deck. Press arrow keys to navigate, G for grid view, P for presenter mode.
Other samples to try: demo/hand-balancing.md, demo/vibe-coding.md.
Start from scratch
Section titled “Start from scratch”Create a file called my-deck.md:
# Hello World
Welcome to StellarDeck.
---
# Second Slide
That's it — `---` separates slides.Then preview it:
npm run preview -- my-deck.mdMarkdown syntax
Section titled “Markdown syntax”StellarDeck turns plain markdown into presentation slides. Write text, separate with ---, and you have a deck.
Slide Structure
Section titled “Slide Structure”Frontmatter at the top configures the deck. --- on its own line separates slides.
Headings
Section titled “Headings”Use #, ##, ### for heading levels.
Auto-fit Headings
Section titled “Auto-fit Headings”Add [fit] after # to make headings stretch to fill the slide width.
Unordered lists use -, ordered use 1.. Nest with two spaces.
Blockquotes
Section titled “Blockquotes”Use > for blockquotes. They render with an accent-colored left border.
Speaker Notes
Section titled “Speaker Notes”Lines starting with ^ become speaker notes — invisible on the slide, visible in presenter mode (P).
Build Lists
Section titled “Build Lists”[.build-lists: true] reveals list items one at a time on click.
Presenter Mode
Section titled “Presenter Mode”Press P in the desktop app to open a presenter window with the current slide, next slide preview, and speaker notes. Here’s what it looks like:
Navigate with the arrows — the next slide preview and notes update automatically. In the desktop app, the presenter window syncs with the main window via BroadcastChannel.