Tidy your footnotes seamlessly in Obsidian.
Adds a command in Obsidian that tidies your footnotes so they're easy to follow:
[^1][^4][^2]
becomes [^1][^2][^3]
)Inspired by obsidian-footnotes plugin.
From inside Obsidian:
For manual installation, download this repo and copy over main.js
and manifest.json
to your vault: VaultFolder/.obsidian/plugins/tidy-footnotes/
.
Run Tidy Footnotes: Tidy Footnotes
from the Command Palette. Or, set it as a hotkey from Settings → Hotkeys.
[^abc]
) doesn't affect the re-indexing of numbered footnotes.npm i
or yarn
to install dependencies.npm run dev
to start compilation in watch mode.bash install-built.sh /path/to/your/vault -d
to create symbolic links of built files to your vault for quick development.npm run test
to run unit tests.Note: CodeMirror is imported for testing with the Doc
interface. It may break in the future if the version no longer matches what Obsidian uses.
yarn build
.manifest.json
and versions.json
.CHANGELOG.md
.main.js
and manifest.json
attached.If you really like this plugin and want to support its development, please consider buying me a coffee 🙂 Thanks!