aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions-x-footnotes
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extensions-x-footnotes')
-rw-r--r--tests/extensions-x-footnotes/footnote.html40
-rw-r--r--tests/extensions-x-footnotes/footnote.txt14
2 files changed, 54 insertions, 0 deletions
diff --git a/tests/extensions-x-footnotes/footnote.html b/tests/extensions-x-footnotes/footnote.html
new file mode 100644
index 0000000..de0070d
--- /dev/null
+++ b/tests/extensions-x-footnotes/footnote.html
@@ -0,0 +1,40 @@
+<p>This is the body with a footnote<sup id="fnr1-5771256"><a href="#fn1-5771256">1</a></sup> or two<sup id="fnr2-5771256"><a href="#fn2-5771256">2</a></sup> or more<sup id="fnr3-5771256"><a href="#fn3-5771256">3</a></sup> <sup id="fnr4-5771256"><a href="#fn4-5771256">4</a></sup>.
+</p>
+
+<div class="footnote"><hr/><ol>
+ <li id="fn1-5771256"><p>Footnote that ends with a list:
+</p>
+<ul>
+ <li>
+ item 1
+ </li>
+
+ <li>
+ item 2
+ </li>
+</ul>
+<p><a href="#fnr1-5771256" class="footnoteBackLink" title="Jump back to footnote 1 in the text">&#8617;</a>
+</p>
+
+ </li>
+
+ <li id="fn2-5771256"><blockquote><p>This footnote is a blockquote.
+</p>
+</blockquote><p><a href="#fnr2-5771256" class="footnoteBackLink" title="Jump back to footnote 2 in the text">&#8617;</a>
+</p>
+
+ </li>
+
+ <li id="fn3-5771256"><p>A simple oneliner.<a href="#fnr3-5771256" class="footnoteBackLink" title="Jump back to footnote 3 in the text">&#8617;</a>
+</p>
+
+ </li>
+
+ <li id="fn4-5771256"><p>A footnote with multiple paragraphs.
+</p>
+<p>Paragraph two.<a href="#fnr4-5771256" class="footnoteBackLink" title="Jump back to footnote 4 in the text">&#8617;</a>
+</p>
+
+ </li>
+</ol>
+</div> \ No newline at end of file
diff --git a/tests/extensions-x-footnotes/footnote.txt b/tests/extensions-x-footnotes/footnote.txt
new file mode 100644
index 0000000..07188d0
--- /dev/null
+++ b/tests/extensions-x-footnotes/footnote.txt
@@ -0,0 +1,14 @@
+This is the body with a footnote[^1] or two[^2] or more[^3] [^4].
+
+[^1]: Footnote that ends with a list:
+
+ * item 1
+ * item 2
+
+[^2]: > This footnote is a blockquote.
+
+[^3]: A simple oneliner.
+
+[^4]: A footnote with multiple paragraphs.
+
+ Paragraph two.