Need AI Training/Help?CloudYeti.io/meet
MarkdownMe
Practical Markdown Guide

Markdown Footnotes: Syntax and Support

Markdown footnotes use a reference marker such as [^1] in the text and a matching definition such as [^1]: Source details. GitHub supports this syntax, but Markdown implementations differ. Put the definition on its own line, use a unique label, and test the rendered result in the target system.

Basic footnote syntax

A footnote has two parts: an inline reference and a definition. Write the reference with a caret inside brackets, as in [^1]. Place the matching definition later in the document with the same label followed by a colon. The label must match exactly, including letters, numbers, and punctuation. A simple example is: The report uses a small sample.[^1] Then define it with: [^1]: Survey results from June. Most supporting text belongs in the definition, not inside the paragraph containing the reference. Keep the reference next to the claim it supports. This makes source review easier when you edit or reorder sections. Labels are identifiers, not displayed numbers. The renderer normally assigns the visible number based on document order. You can use descriptive labels such as [^method] and [^license] when that improves source maintenance.

Multiline notes and formatting

A definition can contain more than one line. Continue later lines with indentation when the target renderer supports multiline footnotes. For example, write [^details]: First line, then indent the next line by four spaces. You can include ordinary Markdown inside a footnote, such as emphasis, links, or a short list, but support varies by implementation. Keep notes compact because complex blocks can render differently across editors. A footnote definition does not need to appear immediately after its reference. Many authors place all definitions at the end of the document, which creates a predictable maintenance area. If your processor requires definitions to appear before use, follow its documentation instead. Do not reuse one label for unrelated evidence. One label can support multiple references when the same note applies to each location.

Compatibility and testing

Footnotes are an extension rather than a guaranteed feature of every Markdown parser. GitHub renders footnotes in supported Markdown files, while some CommonMark-focused tools require an extension or do not render them. A raw [^1] marker may remain visible if the parser lacks footnote support. Test the exact output destination, including a repository page, static-site generator, documentation portal, or email converter. Check the backlink from the note to the reference, keyboard navigation, and screen-reader labeling. If the destination does not support footnotes, replace them with linked endnotes or ordinary inline links. Keep the original source text available so you can convert it without losing citations. A generator can reduce label mistakes, but it cannot determine whether a target platform enables the feature.

How do you do it step by step?

  1. 1Write the claim first, then place a unique reference marker such as [^source] immediately after the relevant text.
  2. 2Add a matching definition on a separate line, using the exact label and a colon.
  3. 3Add the source, explanation, or attribution after the definition marker.
  4. 4Render the document in the platform that will publish it and inspect the links, numbering, and note location.
  5. 5Convert the notes to ordinary links or endnotes if the destination does not support footnotes.

Working example

This example cites a measurement and keeps the definition at the end of the document.

Input
The test used 24 samples.[^sample]

[^sample]: Internal test log, June 2025.
Result
The rendered paragraph shows a linked footnote number after “samples.” The note appears in a footnote area with a link back to the paragraph.

The exact number, backlink symbol, and placement depend on the Markdown renderer. Use the same target renderer for final verification.

Frequently asked questions

Does standard Markdown support footnotes?
No single Markdown standard requires footnotes. GitHub supports them, while other processors may need an extension or may leave the syntax unchanged.
Can I use numbers instead of labels?
Yes. Labels such as [^1] are common, but descriptive labels also work in many implementations. The opening and definition labels must match.
Can a footnote contain a link?
Many renderers allow Markdown links inside definitions. Test the destination because nested formatting and multiline content vary between processors.
What should I do when footnotes do not render?
Use a normal Markdown link, an HTML link, or a manually linked endnote. Choose the form that the publishing system documents and preserves.

Official references