summaryrefslogtreecommitdiffstats
path: root/tests/data/blexer-footnotes.md
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2018-01-02 00:51:19 +0000
committerrsiddharth <s@ricketyspace.net>2018-01-02 00:51:19 +0000
commit673c0ad9bbce77a121353757a93c18c808a2655e (patch)
tree06552e72205c3667a4622b7ab6fe1e84ec44d42d /tests/data/blexer-footnotes.md
parentad8fa809c55e2bf2a6bf2e977f6683e90ad7200d (diff)
md_tw.py: Add `TWBlockLexer.parse_def_footnotes`.
* md_tw.py (TWBlockLexer.parse_def_footnotes): New method. * tests/test_md_tw.py (TestTWBlockLexer.test_parse_def_footnotes): New test. * tests/data/blexer-footnotes.md: New file.
Diffstat (limited to 'tests/data/blexer-footnotes.md')
-rw-r--r--tests/data/blexer-footnotes.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/data/blexer-footnotes.md b/tests/data/blexer-footnotes.md
new file mode 100644
index 0000000..0bd38b5
--- /dev/null
+++ b/tests/data/blexer-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.