diff options
author | Waylan Limberg <waylan@gmail.com> | 2008-03-03 02:29:33 +0000 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2008-03-03 02:29:33 +0000 |
commit | c411dd7ee643ae2953997018358e319d16dcef6a (patch) | |
tree | 0e9d37c7a5b3df89af1a46d20eea6c520644f8dd /tests/extensions-x-footnotes | |
parent | 7e0b40c87dd4d8faf4be4b8ba13aa79959f4a547 (diff) | |
download | markdown-c411dd7ee643ae2953997018358e319d16dcef6a.tar.gz markdown-c411dd7ee643ae2953997018358e319d16dcef6a.tar.bz2 markdown-c411dd7ee643ae2953997018358e319d16dcef6a.zip |
fixed testing framework to actually use the extensions passed in and a few other minor cleanup things.
Diffstat (limited to 'tests/extensions-x-footnotes')
-rw-r--r-- | tests/extensions-x-footnotes/footnote.html | 40 | ||||
-rw-r--r-- | tests/extensions-x-footnotes/footnote.txt | 14 |
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">↩</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">↩</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">↩</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">↩</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. |