From e357ce168c8f6a78df349fbb262d71bf46fe11b5 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Mon, 5 Mar 2018 02:37:14 +0000 Subject: tests: Add TestTWRenderer.test_render_footnote_item. * tests/data/renderer-footnotes-w.md: New file. * tests/data/renderer-footnotes.md: New file. * tests/test_md_tw.py (TestTWRenderer) [test_render_footnote_item]: New test method. --- tests/data/renderer-footnotes.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tests/data/renderer-footnotes.md (limited to 'tests/data/renderer-footnotes.md') diff --git a/tests/data/renderer-footnotes.md b/tests/data/renderer-footnotes.md new file mode 100644 index 0000000..95af579 --- /dev/null +++ b/tests/data/renderer-footnotes.md @@ -0,0 +1,24 @@ +This phrase has a single line footnote[^foot1]. + +[^foot1]: Lorem ipsum dolor sit amet, consectetuer adipiscing elit. + +This other phrase has a multiline footnote[^foot2]. + +[^foot2]: Vestibulum enim wisi, viverra nec, fringilla in, laoreet + vitae, risus. Donec sit amet nisl. Aliquam semper ipsum sit amet + velit. + +This phrase has a blockquote in its footnote[^foot3]. + +[^foot3]: A footnote with blockquotes + + Start of block quote in footnote: + + > This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet, + > consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. + > Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus. + > + > Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse + > id sem consectetuer libero luctus adipiscing. + + End of block quote in foot note. -- cgit v1.2.3