Pandoc example: . Here is a footnote reference,[^1] and another.[^longnote] [^1]: Here is the footnote. [^longnote]: Here's one with multiple blocks. Subsequent paragraphs are indented to show that they belong to the previous footnote. { some.code } The whole paragraph can be indented, or just the first line. In this way, multi-paragraph footnotes work like multi-paragraph list items. This paragraph won't be part of the note, because it isn't indented. .

Here is a footnote reference,[1] and another.[2]

This paragraph won’t be part of the note, because it isn’t indented.


  1. Here is the footnote.

  2. Here’s one with multiple blocks.

    Subsequent paragraphs are indented to show that they belong to the previous footnote.

    { some.code }
    

    The whole paragraph can be indented, or just the first line. In this way, multi-paragraph footnotes work like multi-paragraph list items.

. They could terminate each other: . [^1][^2][^3] [^1]: foo [^2]: bar [^3]: baz .

[1][2][3]


  1. foo

  2. bar

  3. baz

. They could be inside blockquotes, and are lazy: . [^foo] > [^foo]: bar baz .

[1]


  1. bar baz

. Their labels could not contain spaces or newlines: . [^ foo]: bar baz [^foo ]: bar baz .

[^ foo]: bar baz

[^foo ]: bar baz

. We support inline notes too (pandoc example): . Here is an inline note.^[Inlines notes are easier to write, since you don't have to pick an identifier and move down to type the note.] .

Here is an inline note.[1]


  1. Inlines notes are easier to write, since you don’t have to pick an identifier and move down to type the note.

. They could have arbitrary markup: . foo^[ *bar* ] .

foo[1]


  1. bar

. Indents: . [^xxxxx] [^yyyyy] [^xxxxx]: foo --- [^yyyyy]: foo --- .

[1] [2]



  1. foo

  2. foo

. Indents for the first line: . [^xxxxx] [^yyyyy] [^xxxxx]: foo [^yyyyy]: foo .

[1] [2]


  1. foo

  2. foo
    
.