Use case or problem
I use Obsidian to take school notes, write essays and so on, and I find myself needing to add frequent footnotes. Currently, to add a new footnote, I need to:
- scroll to the bottom to check how many footnotes I already have
[^n] in the body of the note, where n is the next number
- move to the end of the note, type
[^n] again, and then add my citation.
It would be convenient to have a shortcut to automate these steps. In particular, I envision that the shortcut would:
- using the smallest natural number
n that has not yet been used for a footnote, add
[^n] at the insertion point
[^n] to the end of the note, and move the insertion point there.
Since I began using it a few months ago, I’ve found Obsidian to be an incredibly useful tool. Thank you to those who are working to make it even better!
Agreed, this feature should be handy to users heavily relying on footnotes.
Also, I don’t think there’s an easy solution to do this using other apps, e.g. a text expansion or a scripting app. It would be best to implement it as a core functionality of Obsidian, or as a third-party plugin.
I use a template for this, you actually don’t need to number footnotes at all, and you don’t need their
if you insert
^[content here] inline with your text the footnotes auto-number based on the order in which they appear in the text top to bottom.
With the content inside the footnote itself, it still displays EXACTLY the same as the method you’re using.
Hell, I even embed links in my footnotes like this:
^[[[Here is a note]]] and it works just the same other than this minor issue in edit mode: First link in footnotes is not properly recognized
the template I insert for this is just called:
fn.md with the contents of
^ and that’s all I do for easy footnotes
^[content] is much better than my current method, and in most situations (especially once the bug in edit mode is fixed) I can imagine it being better than the hotkey I suggested. I plan to start using it.
With that said, there are still situations where it’s useful to be able to quickly put things in footnotes at the bottom of a note. I spend most of my time in edit mode, and things get a bit hard to (visually) parse if URLs, lengthy asides, etc. are encoded in the body of the note.
This is just a feature that I was surprised not to find among the hotkeys in Obsidian’s preferences, as it seems pretty simple to implement.
Thanks, I was never going to find this out myself!
I migrated from Zettler, which has the best footnote manager I’ve ever seen, and I was disappointed with Obsidian, but now my problem is solved thanks to you.
Glad to hear it was helpful!
Use case or problem
Adding Footnotes manually ie pressing
[^1] and then retyping it with the footnote - is time-consuming.
A hotkey that would intelligently create the footnote-link pair in any page.
ie if the numbering would consider the presence of any previous footnotes.
+1, this would totally speed up making footnotes!
I’m not sure if this would be helpful for your usage.
I usually make a footnote by typing
Wheneve I make a footnote, it generates the footnote numbers automatically.
You just blew my mind. I did not know this was a thing, thanks for sharing!
Wow! Had no idea this was possible! This is pretty great, but a hotkey would still be nice as longer footnotes this way could clog up the text in edit mode.
I’m not sure if this is possible, but:
I would love a keyboard shortcut for inserting a footnote (really, a plugin enabling such a thing). Since adding a footnote in Markdown takes many, many keystrokes, it’s cumbersome enough that I avoid doing it although I would otherwise do it often.
There is an alternative solution: inline footnotes.
Text^[footnote text] - done.
No need to scroll to the bottom of the note to get the right number, which will be wrong again as soon as you insert another footnote in between later on. With inline footnotes the numbering is adjusted automatically.
You can also use wikilinks within inline footnotes.
If you find the inline footnote text distracting in between your regular text you can change its color to a lighter one so it is less/not obtrusive.
Edit: did not see Tallguyjenks’s comment higher up.
Another thing people might not know is, that you can give your footnotes names. It’ll automatically use numbers and have it ordered.
edit: I am a big dummy, nothing to see here
Came here searching for the footnote syntax in Obsidian. Discovered the same thing you all are talking about. Very cool feature of Obsidian this is.
I have a follow up question, though. Is it possible for multiple blocks of text to refer to the same footnote?
You can have several mentions of the same footnote, just the syntax has to be the same.
So if you have a footnote like this
[^steph]: Informationen on Steph
You can everywhere use
[^steph] to reference it.
I love the idea, I want it, and I agree this should be in core.
Until then, I’ve whipped together a simple plugin that will do exactly what @jacob.4ristotle proposes.
How to Install the Plugin Manually
Plugin can be manually installed from here: Release 0.0.5 · akaalias/obsidian-footnotes · GitHub
- Open your Obsidian plugins folder (Settings → Community Plugins → Small Folder Icon)
- Create a new folder named
obsidian-footnotes and copy the three downloaded files there
- Click the 'Reload Plugins` icon
Footnote Shortcut on
The default hot-key is
Do you intend to add it to the Obsidian repo on GitHub, so we can download it through the settings ?