Footnotes
Published Jul 27, 2024
Contribute to Docs
In Markdown, footnotes are subscript numbers to add notes and references to documentation in a way that keeps the content organized.
Syntax
In Markdown, short footnotes use the following syntax:
This is a text[^1].[^1]: This is a reference.
For footnotes that are more than a sentence, the following syntax is used:
[^bignote]: This is a reference that is used to correlate it to the document. It is best to read it alongside the paragraph it is used to help users gain a better understanding of the documentation.
Example
In the below example, the sentence compares the tool Pieces
to the character Tinkerbell
and its footnote provides information about the story that includes the character. This is done to make the correlation clearer for a user who might not be familiar with the story:
Think of Pieces as a technical Tinkerbell from Peter Pan[^2].[^2]: This is a fairytale about a forever young boy who takes a group of British children to his home island, Neverland.
When rendered, it looks like this:
Think of Pieces as a technical Tinkerbell from Peter Pan[^2].
Guidelines
When writing documentation, the following guidelines can be followed to use footnotes effectively:
- A space should not be added between the word and the footnote indicator. It’ll make the footnote not appear.
- Using footnotes sporadically can make it difficult for users to navigate documentation to determine if the sentence can be easily comprehended.
Contribute to Docs
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.
Learn Markdown on Codecademy
- Career path
Front-End Engineer
Front-end engineers work closely with designers to make websites beautiful, functional, and fast.Includes 34 CoursesWith Professional CertificationBeginner Friendly115 hours - Free course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner Friendly7 hours