Markdown footnotes

Add sources, asides and explanations without interrupting the text. This guide covers the footnote syntax, with examples you can load into the converter and download as a PDF.

Markdown
Preview

Your first footnote

A footnote has two parts: a marker in the text, where the reader sees a small number, and the note itself. Write the marker as a caret and a label in square brackets, [^1], straight after the word or punctuation it belongs to. Then write the note on a line of its own, starting with the same marker and a colon:

The Eiffel Tower was built for the 1889 World's Fair.[^1] It was meant to
stand for only twenty years.

[^1]: The Exposition Universelle, held in Paris to mark the centenary of
the French Revolution.

md2pdf.me numbers the footnotes for you, in the order the markers appear in the text, and gathers the notes into a numbered list at the end of the document under a line. The label you choose is only a way of matching a marker to its note; it doesn't have to be the number that's shown.

Naming footnotes

Because md2pdf.me does the numbering, labels can be words instead of numbers, which is easier to manage in a long document. If you add a footnote near the start of a document with thirty notes, numbered labels would all need changing; named ones don't.

Most of the city's water comes from reservoirs in the hills.[^water]
Demand peaks in August, when rainfall is lowest.[^rain]

[^water]: About 70 percent, according to the 2025 utility report.
[^rain]: Monthly averages from the national weather service, 1991–2020.

Labels can use letters, numbers, hyphens and underscores, but not spaces: write [^water-report], not [^water report]. They're case sensitive, so [^Rain] won't find a note labeled [^rain].

The notes can go anywhere in the document. Some writers put each one just below the paragraph that uses it, where it's easy to check; others keep them all at the end of the file. The PDF is the same either way, with every note collected at the end.

Inline footnotes

For a short note, you can skip the label and write the note right where it belongs, as ^[…]. It's numbered along with all the others.

The meeting moved to Thursday.^[Room 4 was already booked on Wednesday.]
Please bring the draft budget.

Inline notes keep the note next to its context, which is handy while drafting, but a long one makes the paragraph hard to read in the Markdown. Not every Markdown app understands them either, so if the same file is used elsewhere, labeled notes are the safer choice.

Longer notes

A note can contain bold, italics, links and inline code, like any other text. To give a note more than one paragraph, leave a blank line and indent the following paragraphs by four spaces, so Markdown knows they still belong to the note:

Our survey had a 62 percent response rate.[^method]

[^method]: The survey was sent by email to all 1,200 members in March and
    closed after three weeks.

    Members without an email address received a paper copy by post. Their
    answers were entered by hand and checked twice.

If a note grows beyond a couple of paragraphs, consider whether it belongs in the main text, or in an appendix after a page break. Footnotes work best for things a reader can skip without losing the thread.

Citing sources

Footnotes are the traditional way to cite sources in essays, history papers and reports. Each note gives the author, the title and where to find it, and the marker goes after the sentence or quotation it supports, after the full stop:

Orwell argued that the great enemy of clear language is insincerity.[^orwell]

[^orwell]: George Orwell, "Politics and the English Language," *Horizon* 13,
no. 76 (April 1946): 252–265.

When you cite the same source again, give it a new footnote with a shortened form, such as Orwell, "Politics," 258., rather than reusing the first marker. Markdown allows a marker to be used twice, but the second one is shown as [1:1], which readers won't expect. Follow whichever citation style your school or publisher asks for; Markdown doesn't mind which.

Footnotes in a PDF

In the PDF, each marker is a small raised number in square brackets, and the notes are gathered at the end of the document in a numbered list, in smaller type. They're endnotes rather than notes at the bottom of each page. Web pages have no page bottoms, and md2pdf.me lays out your document like a web page before printing it, so the notes come at the end.

The markers are links. In most PDF viewers, clicking a number jumps to its note, and in every style but Academic, Résumé and Newspaper, the ↩ arrow at the end of each note jumps back to the text. Those three leave the arrow out, as a printed journal or newspaper would.

The notes don't have a heading of their own, except in Fiendish, which calls them The fine print. To start them on a fresh page, like the notes section of a book, end your document with a page break; everything after it, which is just the notes, moves to a new page:

Thank you for reading.[^1]

[^1]: This note will be on a page of its own.

<div class="page-break"></div>

The styles set the notes slightly differently. Classic, Academic, Gothic and Sandwake put them under a short rule, as books and journals do. Modern, Report, Résumé, Elvish, Newspaper and Fiendish use a rule across the full width, Worksheet a dotted one and Cyberpunk a dashed one, and GitHub matches github.com.

Common mistakes

Other topics

Back to the Markdown guide