Pandoc example: . Here is a footnote reference,1 and another.2
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.
They could terminate each other:
They could be inside blockquotes, and are lazy: . 5
bar baz ↩︎
Their labels could not contain spaces or newlines:
. 5: bar baz
[^]: 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]
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]
bar ↩︎
foo ↩︎ ↩︎
Indents:
.
Indents for the first line:
Indents for the first line (tabs): . 6
foo ↩︎
Security 1 . 8
blah ↩︎
Security 2 . 9
blah ↩︎
Should allow links in inline footnotes . Example^[this is another example https://github.com] .
Example[1]
this is another example https://github.com ↩︎
Nested blocks: . 10
terminates here .
terminates here
abc
def hij
- list
↩︎block
Empty lines after blockquote+footnote (markdown-it-py#133) .
b 1
Some text
c
.
b [1]
Some text
c
d ↩︎
Newline after footnote identifier . 10
b .
b
Indented by 4 spaces . 1
[^1]: footnote
.
[^1]
[^1]: footnote
.
Indented by 4 spaces, DISABLE-CODEBLOCKS . 1
[^1]: footnote
.
footnote ↩︎
Footnotes
-
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. ↩
-
bar ↩
-
baz . ↩
-
blah . ↩
-
blah . ↩
-
abc
def hij
- list
↩ ↩2block