kebl354168 downloadsInsert footnotes and edit their text in a popup, without scrolling to the bottom of the note.
An Obsidian plugin to add footnotes and edit their text in a popup, without scrolling to the bottom of your note to find the definition.
If this plugin adds value for you and you would like to help support continued development, please use the buttons below:
☕ Buy me a coffee · 💙 Donate via PayPal
If you like this plugin or find it useful, please consider giving it a star on GitHub!
[^1] where you're
typing, creates the matching [^1]: … definition at the end of the note, and
immediately opens a small popup so you can write the note text. Your cursor
never leaves the spot you were writing.[^1] in the body or its
definition at the bottom) and run the command.1, 2, 3, … in reading order (inserting mid-text shifts the later ones up);
the definitions block stays sorted to match; and renaming a definition's
label carries its markers along. Named footnotes like [^kant] keep their
labels. Runs after the note goes quiet for a moment, never mid-keystroke.Multi-line footnotes are supported (they're stored with the 4-space indentation Obsidian expects for continuation lines).
Both actions are Obsidian commands. Run them from the Command Palette
(Cmd/Ctrl+P) or bind a hotkey under Settings → Hotkeys:
Footnote Inline Editor: Insert footnote at cursorFootnote Inline Editor: Edit footnote at cursorThere's also a ribbon button (pencil icon) for inserting a footnote.
In the popup, Cmd/Ctrl+Enter saves and Esc cancels.
1, 2, 3, …. Turn it off to be prompted for a custom label each time.This plugin isn't in the community store, so install it manually:
main.js is present):npm install
npm run build
<YourVault>/.obsidian/plugins/footnote-inline-editor/main.js, manifest.json, and styles.css into it.To develop with live rebuilds, run npm run dev and symlink or copy the folder
into your vault's plugins directory.
src/footnotes.ts: pure functions that locate and rewrite footnote
references and definitions.src/main.ts: the plugin, the edit popup, click handling, and the settings
tab.manifest.json
(e.g. 1.1.0), and attach main.js, manifest.json, and styles.css as
release assets.community-plugins.json, and open a pull request.If this plugin adds value for you and you would like to help support continued development, please use the buttons below:
MIT