@stedefast/plugin-footnotes
v0.2.2
Published
Enhanced sidenote footnotes plugin for Stedefast — transforms GFM footnotes into margin sidenotes on wide screens
Downloads
210
Maintainers
Readme
@stedefast/plugin-footnotes
Enhanced sidenote footnotes plugin for Stedefast — renders Markdown footnotes as margin sidenotes on wide screens with graceful fallback to inline popups on mobile.
Installation
pnpm add @stedefast/plugin-footnotesUsage
// stedefast.config.ts
import { defineConfig } from "@stedefast/core";
import { FootnotesPlugin } from "@stedefast/plugin-footnotes";
export default defineConfig({
plugins: [FootnotesPlugin()],
});Use standard Markdown footnote syntax:
Here is a claim.[^1]
[^1]: And here is the footnote text.Documentation
Full docs at stedefast.dev/docs/plugins/footnotes.
License
MIT
