Skip to content
Back to blog
Friday, November 27, 2026

Markdown Footnotes: Syntax, Numbering and Troubleshooting

Add Markdown footnotes with a copyable two-note example. Fix visible brackets, check the numbering, and keep notes readable in exported PNGs.

Markdown Footnotes: Syntax, Numbering and Troubleshooting

Add a Markdown footnote by placing a marker such as [^data] after the sentence and writing its note on a separate line starting with [^data]:. The label tells the renderer which note belongs to that sentence. Use a short label that describes the subject so you can recognize the pair while editing.

Footnotes work well for sources, optional context and brief methodology notes. Keep a condition in the sentence itself when readers need it to interpret the claim. A separate note is especially easy to miss when someone views only the top portion of an exported image.

Copy a two-note example

This fictional release preview contains two references. The definitions appear in the opposite order on purpose, so you can check whether the renderer uses the order of first mention for display numbering.

## Release preview

The review uses sample data.[^data] Check readability at the final size.[^size]

[^size]: Open the exported image at its intended display size.
[^data]: The names and figures in this preview are fictional.

The suffix after the caret is a source label. It need not match the number the reader sees. In GitHub's supported Markdown surfaces, footnotes render at the bottom even if their definitions appear elsewhere in the source. GitHub documents an exception for wikis. GitHub's footnote instructions

Read the rendered result in two passes. First look for the markers immediately after the sentences. Then read the notes and verify that the sample-data explanation matches the first sentence and the readability check matches the second. A number alone tells you only that a marker rendered. Confirm that it leads to the right text.

If you move the second sentence before the first, move its marker along with it and check the numbering again. Labels such as data and size remain meaningful when the order changes. Manually typed superscript numbers require more maintenance because their meaning depends on which definition you remember to update.

Find out why a footnote stays as brackets

Start by checking a single reference and definition in an otherwise empty document. Use the same short label in both places. Keep the colon after the definition's closing bracket. Place the definition on its own line outside a code fence, and leave a blank line before the definitions.

What you seeWhat to check
The marker appears as brackets and a caretConfirm the exact label and check whether the target supports footnotes.
The definition appears as an ordinary paragraphCheck the caret, closing bracket and colon. Move the line out of any code fence.
Two sentences point to the same noteCheck for a reused label and give different notes distinct labels.
The displayed numbers changed after editingCheck the new order of first mention and verify each note against its sentence.
The preview works but the destination differsPaste the minimal example into the destination and inspect its rendered output.
A PNG has markers with no explanationsCheck whether the image was cropped before the notes and shorten or move the explanations.

The input format of a converter also matters. Pandoc documents footnotes and inline_notes as separate extensions. If you move a document between renderers, test the reference-plus-definition form before trying an inline shorthand. Pandoc's footnote documentation

Once one note works, add the others back gradually. Test in the exact place the reader will see the document. An editor preview can support an extension that the published page, wiki or other export format handles differently.

Use a visible note when the context needs to travel

Here is the same short preview rewritten with a disclosure in the body and a review check below it. The heading and bullet use basic Markdown syntax. They also give the reviewer an obvious place to look without requiring a footnote jump.

## Release preview

The names and figures in this preview are fictional.

### Review checks

- Open the exported image at its intended display size.

Choose the layout based on how the content will be read. A full document can place optional explanations at the end. A cropped slide or chat attachment benefits from placing essential context next to the statement. In this example, the fact that the figures are fictional belongs where a screenshot reader can see it immediately.

For a sourced claim, put a readable source name in the card and include the clickable link in the surrounding post or original document. When you share both the image and the Markdown, remember that the image may be forwarded without the source. Keep the important qualifier visible and make the full source easy to find. Markdown link examples

Check the note area before exporting a PNG

We pasted the complete example into the live Markdown2Image editor. It displayed markers 1 and 2 and placed the matching notes in order of first mention. We downloaded the PNG below using the editor’s image download button.

Release preview with two footnote markers and their explanations underneath

Open the original PNG

Open the exported file and check the bottom edge at the size your audience will see. A PNG presents the text as pixels, so a footnote marker cannot jump to its note. Keep the Markdown available for readers who need navigation or want to copy the source. Preview your notes in Markdown2Image