Footnote
Footnote hydrates generated markdown footnote references with hover and focus popover previews.
Installation
Import from @gaudi/design-system. Load @gaudi/design-system/global.css once and add transpilePackages: ['@gaudi/design-system'] in Next.js.
Usage
Examples
Playground
Accessibility
Generated footnote references are real anchors, so readers can still jump to the notes list. Footnote adds hover and focus previews without replacing the underlying link or removing the accessible footnote relationship.
Notes
Footnotelistens formouseenter,mouseleave,focusin, andfocusouton generated links marked withdata-footnote-popover="true".- The popover body is read from generated
data-footnote-content, so the plugin must sanitize and serialize the note content before runtime. - The component positions the popover next to the reference and flips left when it would overflow the viewport.
- The visible footnotes list remains the source of truth; the popover is a reading convenience.
Related
AsideSupporting article content outside the main reading flow.CalloutHighlight an article note, tip, warning or error while preserving readable prose.ChartChart is the MDX adapter for the Charts collection: authors write <Chart type=…> (or a chart by name) in an article and get the same framed, accessible chart an application renders from @gaudi/design-system/charts.CitationCitation documents the blog citation authoring flow and the Gaudi runtime components that hydrate generated citation links.CitationTrackerKeep bibliography back-links associated with the last visited citation.CodeArticle code rendered through the Core CodeBlock: CodeFence maps MDX pre, CodeGroup renders ::: code-group fences as tabs.