Footnotes
There is an extension to Markdown that provides footnotes, but its implementation is not consistent and it separates the content from the number. For example:
Markdown is a lightweight markup language[^1] created by John Gruber[^2], now widely used in writing[^3].
[^1]: Markdown uses simple syntax to achieve text formatting.
[^2]: John Gruber created Markdown in 2004.
[^3]: Many platforms such as GitHub, Stack Overflow, and blog platforms support Markdown.
In docStatic this would be represented as:
Markdown is a lightweight markup language<Footnote summary="1"> Markdown uses simple syntax to achieve text formatting.</Footnote>
created by John Gruber<Footnote summary="2">John Gruber created Markdown in 2004.</Footnote>,
now widely used in writing<Footnote summary="3">Many platforms such as GitHub, Stack Overflow, and blog platforms support Markdown.</Footnote>.
The Footnotes component enables you add inline footnotes to your text.
- Select Footnotes from the Embed list.
- Edit the component.
- Give it a Summary.
- Enter the Footnote.
Example
Markdown is a lightweight markup language[1] created by John Gruber[2], now widely used in writing[3].
Footnotes are numbered in the order they appear, and the notes themselves are collected at the foot of the page. The numbering is worked out when the site is built, so the numbers and the notes are in the page as served rather than being assembled by the browser.
Repeating a footnote
Two footnotes with the same content are the same note. They share a number and appear once at the foot of the page, so a point you need to make twice does not clutter the list.
Both markers above point at the same note, because the text inside them is identical. Change one of them and it becomes a note of its own.
Footnotes and citations
Under a note citation style, a citation is also a footnote, and citations share this same numbered sequence. See Citations for how that works and what it looks like.
Related topics
- CALS Tables – Using CALS tables in docStatic, including merged cells, column widths and border control.
- Tabs – Using tabs in docStatic.
- Related Topics – Automatically generate links to related content based on shared taxonomy tags.
- Create a doc – Create a Markdown document.
- Creating pages – Creating pages in the CMS.
- Hosted CMS – Using docStatic with cloud-hosted or self-hosted TinaCMS.
- Citations – Cite sources from a central CSL bibliography.