The discourse footnote plugin allows you to create markdown footnotes in your posts.
Add the following line to your container, in the plugin install section
- cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-footnote
Footnotes have been discussed as an optional CommonMark extension for a while:
- Footnotes and indentation - Extensions - CommonMark Discussion
- How should footnotes behave? - Extensions - CommonMark Discussion
The general consensus is that the extension should allow for syntax such as:
some deep thought who needs a reference[^1] [^1]: Here's the reference.
It supports both, single line and multi paragraph footnotes.
So, for example, this works.
We are our choices. [^sartre] A lot of interesting words He really said it. [^sartre] [^sartre]: We are our choices. Sartre, some time some day in the past
In a multi site environment each site can enable or disable the extension with the
Additionally you can either enable or disable “inline” expansion with
This is how stuff looks without inline expansion:
This is how stuff looks with inline expansion:
Inline expansion is “quote” friendly and mobile friendly.