Here is some text containing a footnote.[^somesamplefootnote]
> And here is a footnote within a blockquote, should be labelled #2.[^secondnote]
And this is a codeblock, that should not be a footnote:
This is code.[^somesamplefootnote]
And this is a short footnote for testing.[^shortnote]
Test footnote, with a 2nd link part.[^1][].
[^somesamplefootnote]: Here is the text of the footnote itself. It also has a [link][somesamplefootnote].
[somesamplefootnote]:http://somelink.com
[^secondnote]: Note # 2.
[^shortnote]: Finis
[^1]: This is a footnote.