Would you like them?

You could have Markdown to have a popup appear to insert the footnote's text [*].

EDIT: you can use a symbol and then <sub></sub>, but that won't give you a link between the place where the footnote occurs and its body text.

[*]: A popup similar to when inserting links (and here having a different, smaller, font)

  • 1
    Just as a reference: footnote extension to PHP-Markdown at rephrase.net/box/word/footnotes/syntax – Arjan Feb 23 '10 at 10:21
  • 5
    And: PHP Markdown Extra seems to be used quite often too (like in Drupal filters), and uses the same [^n] syntax. – Arjan Feb 1 '11 at 13:14
  • 1
    Related feature request: meta.stackexchange.com/questions/5199/… – Mechanical snail Nov 22 '12 at 6:19
  • 1
    Then we need <small>, @Shog9... ;-) – Arjan Apr 5 '14 at 10:37
  • 2
    clickable footnote links. clickable back-to-reference links at footnotes. These would make it very useable. nice to have: automatic collection of references. – n611x007 Apr 17 '15 at 15:16
  • 3
    @naxa I'd rather see in-place popups than ones at the bottom of the page, although I can see the use of a list of references — maybe an optional way to also list all notes at the end. – mattdm Apr 19 '15 at 11:12
  • 3
    Why do these popular feature requests get declined without any official reasoning/response? It would be nice to hear at very least why they've been declined. – eggyal Jul 27 '16 at 9:43
  • @eggyal you can ask Shog directly, he can be notified via a comment reply. – Shadow Wizard Wearing Mask Jan 21 '17 at 9:10
  • 1
    @Shog9 Can we get an official explanation of why this was declined, and maybe consider re-opening the feature request? – Benjamin R Oct 17 '17 at 1:51
  • 1
    Answered, @BenjaminR: meta.stackexchange.com/questions/5017/markdown-footnotes/… – Shog9 Oct 17 '17 at 2:10

10 Answers 10


I don't think you need those. This isn't Wikipedia[citation needed], so generally a footnote can consist of just a *. No reason to try to formalize* it. You can then use <sub> to make it a smaller font [rcar].

*: AKA Eating up the dev team's time.

See, works great! Just remember, use \* when posting those. Otherwise, you get italics.

| improve this answer | |
  • 17
    [citation] Page Name: Podcast #17 (responses); Primary Author: Jeff Atwood; Secondary Author: Unknown; Citation: "Again, I know you are not Wikipedia..." – Robert Cartaino Jul 14 '09 at 13:56
  • 6
    @rcar: Brilliant. Simply, brilliant. – Eric Jul 14 '09 at 14:26
  • 2
    Yes, I only wanted a different font for footnotes – Vinko Vrsalovic Jul 14 '09 at 15:59
  • 3
    @Vinko Vrsalovic - An horizontal rule (<hr>) followed by a subscript tag (<sub>) would probably do nicely. – Robert Cartaino Jul 14 '09 at 19:28
  • 3
    The <hr> was way too spaced out, but the <sub> tag worked great. Good call. – Eric Jul 14 '09 at 19:51
  • 5
    No need for <hr> - a few dashes works too... --- – Marc Gravell Jul 14 '09 at 20:15
  • 14
    I dislike using <sub> or <sup> to format text -- for me that breaks separating content from design. – Arjan Nov 9 '09 at 11:48
  • 1
    @Arjan <sup> and <sub> are content tags. – random Dec 9 '09 at 14:09
  • 17
    @random, indeed. That's why I dislike using them for formatting... The text of a footnote is not the same as superscript or subscript. – Arjan Jan 16 '10 at 19:08
  • 17
    Well, bold or links aren't needed either, are they? It's not about need, but convenience. The ability to make footnotes using markdown would be useful, whether or not it is essential. Asterisks, or <sup> can *look ok, but it'd be nice to have the functionality too. Links back and forth between the footnote and the text it refers to – jalf Jun 21 '11 at 19:13
  • 4
    The correct HTML element to use would probably be <small>, as <sub> is intended for semantic subscripts, that is, removing the <sub> tag would result in a change in meaning. – chharvey Jul 22 '13 at 6:00
  • 2
    While this pretty much works, and it's what I've done for years, there are multiple reasons why it's far from ideal. Too many to put in a comment, so I wrote an answer. – abarnert Apr 17 '15 at 15:16
  • 2
    @random They're only legit content tags when used to indicate superscripts and subscripts semantically. When using them just to fiddle fonts size, that's (mis)using content tags as presentation tags and does break content/design separation. HTML footnotes should be formatted by the stylesheet. – SevenSidedDie Jun 19 '15 at 22:35
  • 1
    Just add footnotes properly for heaven sakes. Your smart ass comment about "eating up the dev team's time" earned you another downvote. – Foliovision Mar 7 '17 at 21:30
  • 2
    Why is this the accepted answer? It's the lowest voted. – Benjamin R Oct 17 '17 at 1:41

I would definitely like them. Although they could be hacked on via font-work, it would definitely enhance usability.

| improve this answer | |
  • 10
    And visual consistency. – Prof. Falken May 2 '13 at 6:48
  • 15
    It would certainly have spared me a lot of time looking up markdown footnotes, only to find out on meta that they are not supported. Don't forget to vote this up if you feel the same. – Maarten Bodewes Jun 22 '13 at 13:41
  • 4
    Like others, maybe not needed for SO, but for my *.SE contributions, I could often use them. Also, if the PHP Markdown Extra solution was adopted, it would mean that you wouldn't need to worry about manually adjusting footnote reference numbers when adding a new note "above" existing ones. AND you would have the note and intext reference hyperlinked. SO many plusses! What's the down-side? I can't think of one. – Dɑvïd Jan 14 '14 at 1:18
  • @Davïd The downside is having to extend the site's markdown flavour with something non-standard, which isn't impossible, but is definitely something developers are not super-excited to tackle. I would love to have footnote support, but I do understand why the foot-dragging. – SevenSidedDie Jun 19 '15 at 22:38
  • 2
    In cognitive Science, Biology and Artificial Intelligence to name a few, sourcing, notes and references are a must, this would be a boon. – Keno Feb 8 '17 at 1:27

Here's what I do1 to simulate footnotes:

These lines are _going to_ intersect<sup>1</sup>!




1. See Euclid's 5<sup>th</sup> postulate.

It's not that hard to do, but it's still a pain and the results aren't ideal. There's no easy way to set up links from the footnote mark to the footnote text and back again. Also, the footnote text ought to be smaller than then text in the body, but adding <sub>...</sub> tends to break the numbered items and I don't bother to play with it usually. It also gets tricky when editing in a new footnote since you need to manually adjust the numbering of notes that come after. Compared to using advanced links, roll-your-own footnotes seems practically barbaric.2

PHP Markdown Extra has a really cool footnote syntax3 that I'd like to have available on Stack Exchange:

These lines are _going to_ intersect[^1]!


[^1]: See Euclid's 5<sup>th</sup> postulate.

Just writing that example makes me yearn for footnote support; even the Markdown code looks clean! The output is more professional looking than my manual footnote technique and includes all sorts of niceties like auto-numbering and inline footnote text.


1. All the time!

2. So why not just use links or parentheticals instead of footnotes? Because we aspire to the sort of answers expected in academia where footnotes are de rigueur. Plus it looks like you know what you are talking about and therefore encourages upvoting.

3. Suggested in the comments by Arjan.

| improve this answer | |
  • 1
    This is roughly what I do but it has few problems: 1) Lots of jumping around; in longer answers it can be difficult to return to where you were reading. 2) Adding a new/citation or removing an existing one in amongst existing ones is error-prone; all instances of all later notes need to be renumbered/relettered (even worse is when the text of the answer is reärranged). – Alex Hajnal Dec 24 '18 at 6:16

Maybe they're not really useful on SO, but there are lots of places on *.SE where they could come in handy (e.g. cstheory).

| improve this answer | |
  • 8
    I would say science sites would find this especially useful when citing papers – Rory Feb 28 '12 at 22:45
  • 12
    cstheory, physics, history, linguistics, chemistry, biology Mi Yodeya (they do a lot of citation) and many others. – TRiG Feb 13 '13 at 23:38

I would very, very much like footnotes as used in xkcd's What If.  Very helpful for adding references or explanatory notes which otherwise detract from the main flow of an answer:

Popup for footnotes

| improve this answer | |

As we near the four-year mark since this Question was first asked, has the development team made any progress yet?

Footnotes are still a pain! And not only because jumping back and forth between text and footnote does not work. It is quite simply a usability nightmare! Here is an example where <sub> was used as a work-around to make footnote text:

Screenshot showing too-small footnote text circled in red

On a normal notebook screen, who can read the text circled in red without getting severe eyestrain? Not I.

While we wait for a footnoting feature to be introduced, how about enabling the <small> HTML attribute so that footnotes can be the exact same point size as the text in comments (small but still readable)?

| improve this answer | |

I definitely want this.

I've been using <sup>\*</sup> and <sup>\*\*</sup> and so on in the text and a --- rule followed by <sub>\*</sub> at the end, and it sort of works, but:

  • I want the footnotes to be smaller/less important-looking, but on many browsers, subscript text is too small, as Eugene Siedel's answer shows.
  • This is clearly an abuse of <sub>'s semantic meaning.
  • <sub> doesn't work in combination with some other kinds of formatting. Part of the reason I use asterisks instead of numbered footnotes is to remind myself that auto-numbered lists and <sub> don't work together.
  • <sub> does work with embedded code, but it looks ugly on most browsers.* And that definitely affects SO. I have brief bits of code in my footnotes all the time.
  • It would be much nicer for the reader if the footnotes were hyperlinked. (I know, I shouldn't be writing answers so long that it really matters. But the time I would spend editing one of them down, I could write book-sized answers on three other interesting questions I've found. :)
  • I frequently screw up the number of asterisks, which is one of the reasons I end up re-editing my answers too often and annoying other people.
  • I still catch myself using the years-obsolete <super> instead of the HTML5 <sup> tag, although that's probably just a problem with me. But it's kind of annoying that it actually works on some browsers, so I don't always notice it…

* How does this look for you? In particular, does the embedded code cause the lines to be spaced for full-sized text, even though the embedded code, like the rest of the text, is not full-sized?

| improve this answer | |
  • +1 I've been hoping that the developers would upgrade footnotes from sub-soup for a long, long time : ( – Jonny Henly Apr 18 '15 at 0:57
  • 2
    It would also be nice to have clickable footnote links and clickable back-to-reference links. About a year ago I feature-request'ed being able to Link to a Certain Part of an Answer/Question, which would enable this to be done manually. – Jonny Henly Apr 18 '15 at 1:02
  • 1
    Indeed, @Jonny, and even more so for mobile which might need more scrolling to see the footnotes. Like for Eugene's example as seen on my phone. – Arjan Apr 19 '15 at 11:01

Not sure why I failed to leave a note here when declining, but... Better late than never.

We (the community manager team) sent this to the dev team for consideration in August of 2013; it was rejected for the following reasons:

  1. We want to avoid creating proprietary additions to Markdown
  2. We do not have consensus that footnotes are something to be encouraged
  3. A work-around exists (albeit an ugly one)

If more than one of these reasons is invalidated at some point, we may be able to reconsider this request.

| improve this answer | |
  • What about StackEdit.io? That has support for footnotes and more... (Thanks for the clarification, those are all good reasons) – Benjamin R Oct 17 '17 at 2:52
  • 1
    StackEdit.io supports a ton of handy extensions because it is awesome. Also, it's for personal use and there's no particular harm in enabling stuff if it's useful for the author (you can selectively disable them too). – Shog9 Oct 17 '17 at 3:24

I don't know 1.

1 I just use superscript on it 2.
2 Looks nice to me.

| improve this answer | |
  • 13
    Not hyperlinked back and forth. And <a> element doesn't support neither "name" nor "id" attributes. – Jakub Narębski Jul 17 '09 at 14:19
  • And what is preventing it to get supported? – akarnokd Jul 17 '09 at 15:02
  • 5
    +1 for not using <sup> in the text of the footnote. Still, like in the question, many abuse <sup> in the actual footnote itself. Also, using numbers implies one might need to re-number when inserting another footnote at a later time. – Arjan Feb 23 '10 at 12:08
  • 1
    @jakub-narebski <a href="#myid"> will point just fine to <div id="myid">. – Jarkko Laine Aug 18 '11 at 7:07
  • @JarkkoLaine Until someone else in another answer uses the same id. Answer-writers should not have to maintain a unique namespace scheme or remember to search the page source just write a footnote that functions. – SevenSidedDie Jun 19 '15 at 22:42

Need footnotes in community wiki mode. You don't want to disrupt the flow of someone else's discussion unnecessarily.

| improve this answer | |
  • 7
    Do you have an example of this? – random Dec 9 '09 at 14:08
  • @random there is a whole book dedicates for this: The Shallows. It cites many studies that hyperlinks in the middle of text, while giving you the references obviously, decrease your understanding of the text. It is better to separate the references in their own section. – Ooker Aug 6 '15 at 4:37
  • Up-to-date link for The Shallows: en.wikipedia.org/wiki/The_Shallows_(book) – Benjamin R Jan 17 '19 at 17:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .