## Footnotes TODO: proper spec. This test is based on the one from gfm. ```````````````````````````````` example This is some text![^1]. Other text.[^footnote]. Here's a thing[^other-note]. And another thing[^codeblock-note]. This doesn't have a referent[^nope]. [^1]: Some *bolded* footnote definition. [^footnote]: > Blockquotes can be in a footnote. as well as code blocks or, naturally, simple paragraphs. [^other-note]: no code block here (spaces are stripped away) [^codeblock-note]: this is now a code block (8 spaces indentation) Hi! [^unused]: This is unused. .
This is some text!1. Other text.2.
Here's a thing3.
And another thing4.
This doesn't have a referent[^nope].
Hi!
Some bolded footnote definition.
Blockquotes can be in a footnote.
as well as code blocks
or, naturally, simple paragraphs.
no code block here (spaces are stripped away)
this is now a code block (8 spaces indentation)
This is unused.
Hello1
Footnote containing a list2
first
second
third
[^]: not a footnote
[^ ]: not a footnote
[^ ]: not a footnote
```````````````````````````````` Footnote labels cannot contain line breaks, even where link labels can. ```````````````````````````````` example [^foo\ bar]: not a footnote definition [baz\ quux]: https://haskell.org [first second]: https://haskell.org [^third fourth]: not a footnote definition [baz\ quux] [^foo\ bar] [first second] [^third fourth] .[^foo
bar]: not a footnote definition
[^third fourth]: not a footnote definition
baz
quux
[^foo
bar]
first
second
[^third
fourth]
bar baz