Skip to content
Notes
Github.com

Notes & Annotations

What it is

Void ships a browser-local note layer. Open the notes panel and save lightweight sticky notes; they persist in your browser across reloads and are global β€” they appear on every page. Notes are never sent to a server.

When to use it

Use the note layer for personal annotations while reading docs β€” reminders, questions to revisit, quick captures. It is a per-reader surface, so don't rely on it for anything that must persist across devices or browsers.

In Markdown

There is no Markdown for notes β€” the feature is a reader-facing overlay:

  1. Open the Notes panel (bottom-left button, or Ctrl/Cmd + Shift + N).
  2. Press + Add note.
  3. Pick a color, type your note, press Save.

Configuration

Control the feature from mkdocs.yml:

theme:
  void:
    notes: true        # disable to turn off the whole feature
    notes_ttl: 259200000   # retention window in milliseconds (3 days)

Live preview / screenshot

The Notes panel

The sidebar lists all your notes, each showing a color bar, the note text, and its date:

  • + Add note β€” compose a new note inline.
  • Edit β€” reopen the note in a prefilled editor and save changes.
  • Delete β€” removes a note.
  • Export .md β€” downloads all notes as Markdown.
  • Export .json β€” downloads them as JSON (good for backup/migration).

Notes are global: they are not scoped to any single page, so you see the same set from anywhere on the site.

Keyboard shortcuts

  • Ctrl/Cmd + Shift + N β€” toggle the notes panel.
  • Ctrl/Cmd + Shift + B β€” toggle the navigation sidebar (state is remembered).
  • Ctrl/Cmd + Shift + T β€” toggle the "On this page" table of contents (state is remembered).
  • Esc β€” close the panel (or cancel the composer).

Under the hood

  • Notes are stored in localStorage under void-notes. Each note has a timestamp and is automatically purged after 3 days (default). Because storage is per-browser, your notes don't travel between devices.
  • All data stays in your browser β€” no network requests are made by the notes feature. Toggling the panel also respects stored sidebar states.

Accessibility notes

  • The panel is a keyboard-openable overlay with focusable controls (add, edit, delete, export) and plain-text labels; Esc closes it.
  • Color is a hint, not the only signal β€” note text remains readable and the edit/delete actions are labeled buttons.