Footnotes in Markdown
Put [^1] where the note belongs and [^1]: Note text. anywhere below. This guide covers labels, longer notes, repeated references and which apps support footnotes.
Quick answer
How do you add a footnote in Markdown?
Write a caret and a label in square brackets after the word, [^1], and define the note on its own line with the same label and a colon: [^1]: Note text. The notes are numbered and listed at the end of the document, with links back to each reference.
Footnote syntax and examples
Footnotes come from GitHub Flavored Markdown and Pandoc. The reference and the definition only need to share a label.
Named footnotes
A label can be a word. The rendered notes are numbered in order of their first reference anyway.
Several paragraphs in one note
Indent the following paragraphs of a note by four spaces.
One note, several references
Reuse a label to point to the same note again. The note gets a back link for each reference.
Where definitions go
A definition can sit anywhere, for example right after its paragraph. The notes always render at the end.
Formatting in a note
Notes can hold links, code and emphasis like any paragraph.
Inline footnotes
Pandoc and Obsidian accept the note text right in the sentence. Other renderers show it as typed.
Water boils at 100 °C.^[At sea level.]Pandoc and Obsidian only. Other Markdown apps display this differently, so there is no preview.
Footnotes in popular apps
Footnotes are an extension, so support is wide but not universal.
| App | Support | Notes |
|---|---|---|
| GitHub | Supported | Footnotes in files, issues, pull requests and comments, with back links. |
| GitLab | Supported | Footnotes in files, issues and merge requests. |
| Obsidian | Supported | Footnotes, and inline footnotes written ^[text]. |
| Hugo / Jekyll | Supported | Supported by their default Markdown engines. |
| Discord / Slack | Not supported | No footnotes; the brackets are shown as typed. |
Questions and answers
Does GitHub support footnotes?
Why does my footnote not appear?
[^1] and the definition [^1]: text both exist with the same label. The definition must start a line, with the colon right after the bracket.Can I choose where the footnotes appear?
Do footnote labels have to be numbers?
[^source]. The rendered notes are numbered anyway.Can a footnote contain links, code or lists?
Are footnotes part of standard Markdown?
How do I write an inline footnote?
^[note text] right in the sentence. GitHub does not.