Magic Move demo
This is a temporary demo of the @shikijs/magic-move integration. Use the arrows below the code to move through the three steps. The first step is also visible when JavaScript is disabled.
function greet(name: string) {
return `Hello, ${name}`
}
1 / 3
The block is authored as one plain Markdown fence with magic-move; each --- line starts the next step. Line numbers are off globally in src/lib/content/config.ts, so this fence has none. Add showLineNumbers to one fence to opt in.