BL Media
Written in Markdown. Presented with care. Use the arrows or the space bar to move on.
A small SvelteKit app. Each deck is one Markdown file in src/decks. Slides are split by a line that is only ---. Put the file in git, and the site presents it.
Ordinary Markdown works: headings, lists, links, images and quotes.
mdsvex 1.0 treats *this* as bold and _this_ as italic. Inline code looks like this.
Wrap a beat in <Step> and it waits for the next key.
This line arrives first.
Then this one. The hash becomes #4.2 so a link can land on this beat.
The numbers after the language are highlight groups, split by |. Each group is a step.
type DeckPos = {
slide: number;
step: number;
};
export function next(pos: DeckPos): DeckPos {
return { ...pos, step: pos.step + 1 };
}Put two or more fences inside a Morph block. Each fence is a version; the next key morphs the tokens into the next one.
const greet = 'hi';
A <Split> is a two-column grid. Put a block in each side.
Useful for a point and a figure, or two short lists.
The talk should feel like one idea, then the next, not a wall of text.
Set mode: dark or mode: light in the frontmatter. This deck is dark. There is no toggle: the file is the source of truth.
If you prefer reduced motion, transitions stay put, reveals appear at once, and morphing code swaps without the animation.
That's the lot
Add a Markdown file in src/decks. The README in the repo has the short list of conventions. Arrow keys, space, click, and F for fullscreen.