Skip to content Added
- Fullscreen Mermaid viewer: wheel zoom and double-click zoom anchor to the pointer position.
- Zoom level badge (e.g.
84%) in the fullscreen viewer.
- GFM footnote styles: superscript
[n] reference markers, footnotes section with separator, styled ↩︎ back-references.
Fixed
- Mermaid diagrams sometimes breaking on Firefox and Safari. The toolbar script read
textContent after astro-mermaid had already rendered SVG into the element. Reads data-diagram first now.
- Horizontal rules in dark mode used
--nu-purple-140, which was invisible against the background. Switched to --nu-border-color.
Accessibility
- Fullscreen Mermaid overlay:
role="dialog", aria-modal, focus trap, focus restore on close.
- White focus rings on overlay controls, theme toggle, and menu button (all sit on dark backgrounds where the purple ring was invisible).
- Inline Mermaid toolbar buttons use a solid accent outline on focus instead of the near-invisible shadow ring.