arslan.land
Jun 10, 2026 · notebook

A quiet demo

I wanted the margin notes to feel like marginalia in a used book — there when you glance over, gone when the page is small.1

The trick is restraint. A note only floats to the margin when there's genuine room for it; otherwise it waits politely at the foot of the page.2 You can link out, too — to Wikipedia on the webring, say — and a little card appears without taking you anywhere.

There's a louder version of all this on the dev side, with the same parts described more mechanically.

Footnotes

  1. Marginalia is older than the printed book; medieval scribes filled the gutters with glosses, pointing hands, and the occasional drawing of a snail. ↩

  2. "Room" is measured at runtime from the actual column position — so it adapts to the window rather than assuming a fixed width. ↩

← all writing