mirror of
https://github.com/Orc/discount.git
synced 2026-09-25 04:10:00 +03:00
Add a test for markdown extra footnotes with a defined prefix
This commit is contained in:
@@ -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">↩</a></p></li>
|
||||
</ol>
|
||||
</div>'
|
||||
|
||||
try -fnofootnote 'footnotes (-fnofootnote)' "$FOOTIE" \
|
||||
'<p>I haz a footnote<a href="yes?">^1</a></p>'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user