@@ -31,15 +31,67 @@ multiple lines [^1]
3131 three
3232
3333 four
34+
35+ five
3436.
3537<p>multiple lines <sup class="footnote-ref" id="fnref-1"><a href="#fn-1">1</a></sup></p>
36- <pre><code>four </code></pre>
38+ <pre><code> five </code></pre>
3739<section class="footnotes">
3840<ol>
3941<li id="fn-1"><p>foo</p>
4042<p>one</p>
4143<p>two</p>
42- <p>three<a href="#fnref-1" class="footnote">↩</a></p></li>
44+ <p>three</p>
45+ <p>four<a href="#fnref-1" class="footnote">↩</a></p></li>
46+ </ol>
47+ </section>
48+ ````````````````````````````````
49+
50+ ```````````````````````````````` example
51+ multi-line footnote[^1]
52+
53+ [^1]:
54+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
55+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
56+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
57+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
58+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat
59+ non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
60+ .
61+ <p>multi-line footnote<sup class="footnote-ref" id="fnref-1"><a href="#fn-1">1</a></sup></p>
62+ <section class="footnotes">
63+ <ol>
64+ <li id="fn-1"><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
65+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
66+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
67+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
68+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat
69+ non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<a href="#fnref-1" class="footnote">↩</a></p></li>
70+ </ol>
71+ </section>
72+ ````````````````````````````````
73+
74+ ```````````````````````````````` example
75+ fenced code block in footnote[^1]
76+
77+ [^1]:
78+ first
79+
80+ ```sh
81+ second
82+ third
83+ ```
84+
85+ fourth
86+ .
87+ <p>fenced code block in footnote<sup class="footnote-ref" id="fnref-1"><a href="#fn-1">1</a></sup></p>
88+ <section class="footnotes">
89+ <ol>
90+ <li id="fn-1"><p>first</p>
91+ <pre><code class="language-sh">second
92+ third
93+ </code></pre>
94+ <p>fourth<a href="#fnref-1" class="footnote">↩</a></p></li>
4395</ol>
4496</section>
4597````````````````````````````````