sveltekitbook
08

The runtime

Small on purpose: gestures, md, palette, Giscus. Everything else is yours.

The `sveltekitbook` npm package holds only the parts that are truly shared and stable. `createPager` turns wheel + touch + arrow keys into next/previous navigation. `md(text, opts)` parses inline `bold`, `em`, and `term`. `makeSpectrum` builds the −N..+N color ramp. `Giscus.svelte` mounts GitHub Discussions comments per page. Everything else — the cover, the page layout, the rooms — gets scaffolded into your project as editable files.