aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions-x-footnotes/named_markers.html
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2008-10-29 18:54:41 -0400
committerWaylan Limberg <waylan@gmail.com>2008-10-29 18:54:41 -0400
commit72bcb21a5cfd50cc21b3e569ca4ca0c74970c17d (patch)
treeb279311e08f56d720b4a9fe77a1844ee212ea7d3 /tests/extensions-x-footnotes/named_markers.html
parent4be7c4adbd91b796dd13d9329b1806049afeacd9 (diff)
downloadmarkdown-72bcb21a5cfd50cc21b3e569ca4ca0c74970c17d.tar.gz
markdown-72bcb21a5cfd50cc21b3e569ca4ca0c74970c17d.tar.bz2
markdown-72bcb21a5cfd50cc21b3e569ca4ca0c74970c17d.zip
Add another test for th efootnote extension that tests named (rather than consecutively numbered) footnote markers.
Diffstat (limited to 'tests/extensions-x-footnotes/named_markers.html')
-rw-r--r--tests/extensions-x-footnotes/named_markers.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/extensions-x-footnotes/named_markers.html b/tests/extensions-x-footnotes/named_markers.html
new file mode 100644
index 0000000..f643b7b
--- /dev/null
+++ b/tests/extensions-x-footnotes/named_markers.html
@@ -0,0 +1,20 @@
+<p>This is the body with footnotes<sup id="fnref:foo"><a href="#fn:foo" rel="footnote">1</a></sup>
+that have named<sup id="fnref:bar"><a href="#fn:bar" rel="footnote">2</a></sup> markers and
+oddly<sup id="fnref:56"><a href="#fn:56" rel="footnote">3</a></sup> numbered<sup id="fnref:99"><a href="#fn:99" rel="footnote">4</a></sup> markers.</p>
+<div class="footnote">
+<hr />
+<ol>
+<li id="fn:foo">
+<p>Footnote marked <code>foo</code>.&#160;<a href="#fnref:foo" rev="footnote" title="Jump back to footnote 1 in the text">&#8617;</a></p>
+</li>
+<li id="fn:bar">
+<p>This one is marked <em>bar</em>.&#160;<a href="#fnref:bar" rev="footnote" title="Jump back to footnote 2 in the text">&#8617;</a></p>
+</li>
+<li id="fn:56">
+<p>A <strong>numbered</strong> footnote.&#160;<a href="#fnref:56" rev="footnote" title="Jump back to footnote 3 in the text">&#8617;</a></p>
+</li>
+<li id="fn:99">
+<p>The last one.&#160;<a href="#fnref:99" rev="footnote" title="Jump back to footnote 4 in the text">&#8617;</a></p>
+</li>
+</ol>
+</div> \ No newline at end of file