Add a test for markdown extra footnotes with a defined prefix

This commit is contained in:
david parsons
2011-02-18 22:31:48 -08:00
parent 450f5e5d80
commit 8fc4cc3729
+10
View File
@@ -18,6 +18,16 @@ try -ffootnote 'footnotes (-ffootnote)' "$FOOTIE" \
</ol>
</div>'
try -ffootnote -Cfoot 'footnotes (-ffootnote -Cfoot)' "$FOOTIE" \
'<p>I haz a footnote<sup id="footref:1"><a href="#foot:1" rel="footnote">1</a></sup></p>
<div class="footnotes">
<hr/>
<ol>
<li id="foot:1">
<p>yes?<a href="#footref:1" rev="footnote">&#8617;</a></p></li>
</ol>
</div>'
try -fnofootnote 'footnotes (-fnofootnote)' "$FOOTIE" \
'<p>I haz a footnote<a href="yes?">^1</a></p>'