Page MenuHomePhabricator

Add footnote syntax to Remarkup
Open, WishlistPublic


It would be nice to have syntax for leaving footnotes at the bottom of long comments. There are other markups that allow for this, and it seems like a reasonable feature.¹ Kind of like this one, but without the hacks.


Event Timeline

staticshock added a project: Remarkup.
staticshock updated the task description. (Show Details)
staticshock updated the task description. (Show Details)
staticshock added a subscriber: staticshock.

See some discussion in T2849.

The syntax for this in markdown is [x][y], but it's a "reference-style link", not a real footnote.

The syntax for this in reStructuredText is [n]_ with ..[n] for the note body, but this seems crazy.

The syntax for this in Textile is [n] with fnn. for the note body.

I'm very hesitant to use [x] for this because it occurs frequently in discussion of source code.

We could do something like {ref 1} inline and then {ref 1} starting a block for the body, e.g.:

I saw a funny picture of a cat {ref 1}.

{ref 1} he is so funny he he :)
epriestley renamed this task from Footnotes to Add footnote syntax to Remarkup.Apr 15 2013, 8:11 PM

The Markdown syntax for actual footnotes (from Markdown extra) is:

That's some text with a footnote.[^1]

[^1]: And that's the footnote.

Where the "1" can be any identifier (and is used in the auto-generated anchor links).

How's that?

The (small) advantage I see is that it's closer to the original suggestion, which is in turn closer to how it appears in plain-text emails.

rugabarbo lowered the priority of this task from Normal to Wishlist.Apr 24 2014, 7:04 PM
rugabarbo added a subscriber: rugabarbo.
chad changed the visibility from "All Users" to "Public (No Login Required)".Jul 10 2015, 5:39 AM