diff options
author | Waylan Limberg <waylan@gmail.com> | 2008-10-29 18:54:41 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2008-10-29 18:54:41 -0400 |
commit | 72bcb21a5cfd50cc21b3e569ca4ca0c74970c17d (patch) | |
tree | b279311e08f56d720b4a9fe77a1844ee212ea7d3 /tests/extensions-x-footnotes/named_markers.html | |
parent | 4be7c4adbd91b796dd13d9329b1806049afeacd9 (diff) | |
download | markdown-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.html | 20 |
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>. <a href="#fnref:foo" rev="footnote" title="Jump back to footnote 1 in the text">↩</a></p> +</li> +<li id="fn:bar"> +<p>This one is marked <em>bar</em>. <a href="#fnref:bar" rev="footnote" title="Jump back to footnote 2 in the text">↩</a></p> +</li> +<li id="fn:56"> +<p>A <strong>numbered</strong> footnote. <a href="#fnref:56" rev="footnote" title="Jump back to footnote 3 in the text">↩</a></p> +</li> +<li id="fn:99"> +<p>The last one. <a href="#fnref:99" rev="footnote" title="Jump back to footnote 4 in the text">↩</a></p> +</li> +</ol> +</div>
\ No newline at end of file |