Reference, 2 of 3

Settings

Three layers, in order of how often you'd touch them.

App preferences

Open with the cog icon in the editor's header. Stored in this browser's localStorage, so they follow you across every project you open here.

  • Code theme Light or dark Shiki theme. Affects preview and printout.
  • Code font size Point size for code rendering. 9pt by default. Click to enter any value.
  • Show line numbers Project-wide default. Per-entry override available in the contextual bar.
  • Page size A4 or US Letter.
  • Smart-add Auto-select obvious files when you open a new folder.
  • Respect .gitignore On by default. Off shows everything except junk dirs (node_modules, .git).

Project settings

Open with the page-layout icon in the editor's header (only visible when a project is open). Stored in IndexedDB with the project, so they come back next time you open the same folder.

  • Header / footer slots Six Mustache-templated slots. See headers and footers.
  • TOC row template The three columns of every TOC row.
  • Show on cover / TOC Whether headers and footers render on the cover page and TOC.
  • Page numbering starts from Set to 0 if you don't want the cover to count as page 1.

Per-entry overrides

Live on the entry itself. Always win over project and app defaults. See per-file overrides.

Where is everything stored?