Skip to main content

Marginalia Demo

Published October 27, 2025
Reading time 4 minutes
Word count 780 words

This page demonstrates the marginalia feature in Ametrine. Marginalia are side notes that appear in the margin on wide screens 1Like this example! and as footnotes on mobile devices.

What are Marginalia?

Marginalia 2From Latin “margo” meaning margin refer to notes written in the margins of books and documents. They’ve been used for centuries by scholars 3Medieval monks were famous for their marginalia to add commentary, questions, or related thoughts without interrupting the main text flow.

Usage

To create a marginalia note, simply wrap your text in double curly braces: {{your note here}}. The syntax is simple and unobtrusive 4Unlike footnotes which use brackets and numbers.

Examples

Short Notes

This is useful for brief asides 5Short and sweet! or quick clarifications 6Just a few words that enhance understanding without breaking the reading flow.

Longer Commentary

Sometimes you need more space to explain a concept 7This is an example of a longer marginalia note. It provides additional context and explanation that would be too disruptive if placed in the main text. On desktop, this will appear in the margin. On mobile, it becomes a numbered footnote at the bottom of the page..

Multiple Notes in One Paragraph

You can have multiple marginalia notes 8First note in a single paragraph 9Second note without any issues 10Third note. Each gets its own number and position.

Combining with Other Features

Marginalia work alongside other Ametrine features:

  • Highlights with marginalia 11You can combine these!
  • Bold and italic text 12Formatting works normally
  • wikilinks 13These link to other pages
  • Code snippets 14Even in technical writing

With Lists

  1. First item 15Notes work in lists too
  2. Second item 16Each can have its own marginalia
  3. Third item 17Very flexible!

With Callouts

Using Marginalia Effectively

Use marginalia for:

  • Tangential thoughts 18Related but not essential
  • Quick definitions 19Technical terms
  • Citations or sources 20References
  • Personal commentary 21Your own thoughts

Technical Details

The marginalia feature uses:

  • Remark plugin for parsing 22Processes markdown AST
  • Tufte CSS-inspired styling 23Named after Edward Tufte
  • Responsive design 24Desktop: margins, Mobile: footnotes
  • Automatic numbering 25Sequential IDs

Reader Mode

Try clicking the reader mode toggle 26Look for the book icon in the header to see how marginalia work in distraction-free reading mode. The sidebars hide 27More focus on content but marginalia remain visible.

Best Practices

Keep them concise 28Under 2-3 sentences usually. Marginalia should enhance, not overwhelm 29If it’s too long, it belongs in the main text. They’re perfect for:

  • Definitions 30New or technical terms
  • Etymology 31Word origins
  • Cross-references 32See also…
  • Quick facts 33Dates, numbers, stats
  • Personal notes 34Your thoughts

Academic Use

Marginalia are particularly useful for academic writing 35Similar to glosses in classical texts. They allow you to provide scholarly context 36Historical background, for example without cluttering your prose with footnotes 37Though both have their place.

Example: Philosophy

Descartes’ famous statement “Cogito, ergo sum” 38Latin: “I think, therefore I am” became the foundation of modern philosophy 39Known as Cartesian philosophy. His method of systematic doubt 40Also called methodological skepticism influenced generations of thinkers.

Comparison with Footnotes

FeatureMarginaliaFootnotes
PlacementMargin/inlineBottom of page
NumberingAutomaticManual/automatic
Use caseQuick asidesFull citations
Reading flowMinimal disruptionRequires jumping

Marginalia 41double braces are better for quick notes, while traditional footnotes1 work well for formal citations.

Markdown Support

Marginalia now support full markdown formatting 42This includes italic, bold, code, and links. This makes them even more powerful for adding rich context.

Text Formatting

You can use emphasis 43This is italic text, strong emphasis 44This is bold text, and even combine them 45Bold and italic together.

Add external links 46See MDN Web Docs for more info or reference other resources 47Check out Wikipedia for general knowledge.

Code Snippets

Include inline code 48Use const x = 42 for constants or technical terms 49The Array.prototype.map() method is useful.

Images

You can even include images in marginalia 50Placeholder. They’ll be constrained to the margin column width automatically.

Conclusion

Marginalia provide a elegant way to add commentary 51Without breaking flow to your digital garden. They’re especially effective on wide screens 52Where space is plentiful and gracefully degrade on mobile 53Becoming numbered notes.

Try creating your own marginalia notes and see how they enhance your writing!

Footnotes

  1. This is a traditional markdown footnote for comparison.

Notes

  1. 1. Like this example!
  2. 2. From Latin “margo” meaning margin
  3. 3. Medieval monks were famous for their marginalia
  4. 4. Unlike footnotes which use brackets and numbers
  5. 5. Short and sweet!
  6. 6. Just a few words
  7. 7. This is an example of a longer marginalia note. It provides additional context and explanation that would be too disruptive if placed in the main text. On desktop, this will appear in the margin. On mobile, it becomes a numbered footnote at the bottom of the page.
  8. 8. First note
  9. 9. Second note
  10. 10. Third note
  11. 11. You can combine these!
  12. 12. Formatting works normally
  13. 13. These link to other pages
  14. 14. Even in technical writing
  15. 15. Notes work in lists too
  16. 16. Each can have its own marginalia
  17. 17. Very flexible!
  18. 18. Related but not essential
  19. 19. Technical terms
  20. 20. References
  21. 21. Your own thoughts
  22. 22. Processes markdown AST
  23. 23. Named after Edward Tufte
  24. 24. Desktop: margins, Mobile: footnotes
  25. 25. Sequential IDs
  26. 26. Look for the book icon in the header
  27. 27. More focus on content
  28. 28. Under 2-3 sentences usually
  29. 29. If it’s too long, it belongs in the main text
  30. 30. New or technical terms
  31. 31. Word origins
  32. 32. See also…
  33. 33. Dates, numbers, stats
  34. 34. Your thoughts
  35. 35. Similar to glosses in classical texts
  36. 36. Historical background, for example
  37. 37. Though both have their place
  38. 38. Latin: “I think, therefore I am”
  39. 39. Known as Cartesian philosophy
  40. 40. Also called methodological skepticism
  41. 41. double braces
  42. 42. This includes italic, bold, code, and links
  43. 43. This is italic text
  44. 44. This is bold text
  45. 45. Bold and italic together
  46. 46. See MDN Web Docs for more info
  47. 47. Check out Wikipedia for general knowledge
  48. 48. Use const x = 42 for constants
  49. 49. The Array.prototype.map() method is useful
  50. 50. Placeholder
  51. 51. Without breaking flow
  52. 52. Where space is plentiful
  53. 53. Becoming numbered notes