sveltekitbook
Glossary

Terms used in this book

Any section's body can reference a term as [[term]] — it links here.

contents

Optional room: a flat list (or grouped list) of every section, linkable. Recommended for any book past a handful of pages.

See also: rooms

continuum

The axis a book lives on. Three formats: none (flat sequence), timeline (year axis with decade dots), spectrum (−N..+N integer axis with palette shifts at each stop). Picked at scaffold; the same outline format works for all three.

See also: timeline, spectrum

gesture

The one-sentence hook at the top of every page — what the reader could quote back. Distinct from the body, which carries the argument. The gesture lives where a pull-quote would sit in print.

See also: page

glossary

You're reading it. A single object in `src/lib/glossary.js` whose keys are linkable from any page body via `term`. Cross-refs between entries are supported via a `see` array.

See also: rooms

outline

`src/lib/outline.js` — the array of page objects that is the book. Reorder it and page numbers renumber. There is no CMS; the file is the database.

See also: page

page

One topic, one screen. Title, gesture, body (under ~400 words), optional plain-terms aside, optional source. Rendered from a single object in `outline.js`; numbered automatically by reading order.

See also: outline, gesture

rooms

Optional pages beyond the cover and numbered sections — contents, glossary, index, authors, topics, about, standalone continuum. Each is opt-in at scaffold time and editable after.

See also: contents, glossary

spectrum

Continuum format where each page carries a `spectrum` integer in [−N..+N] and the palette shifts as the reader crosses stops. Best for books about a continuum (left/right, secular/religious).

See also: continuum

sveltekitbook

A SvelteKit-based reading format: one topic per page, gesture + body + plain-terms, navigated by wheel / swipe / arrow. Two packages: `sveltekitbook` (the small runtime — gestures, md, palette, Giscus) and `create-sveltekitbook` (the scaffolder).

See also: gesture, continuum

timeline

Continuum format where each page carries a `year` and the cover renders a decade axis with one dot per page. Best for histories.

See also: continuum