Skip to main content

Introducing marginalia

· One min read
Maintainer

docusaurus-plugin-marginalia adds editorial sidenotes to long-form Docusaurus pages.

An inline anchor in the prose pairs with a card in the right margin. Cards pack down the page, highlight with the passage being read, and collapse when space gets tight. On narrow screens, the layout falls back without forcing a desktop margin into a mobile viewport.

The style owes something to reference books and Tufte, where a useful aside can sit beside an argument without breaking its rhythm. It works well for technical walkthroughs too: a definition, endpoint detail, or caveat can stay close to the sentence it belongs to.

Read the marginalia docs, find it on npm, or browse the repository.