summaryrefslogtreecommitdiffstats
path: root/tests/data/blexer-blockquote.md
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2018-01-02 00:47:30 +0000
committerrsiddharth <s@ricketyspace.net>2018-01-02 00:47:30 +0000
commit12903a82dc2ee039b0356855657e3f66173b9e92 (patch)
tree1b6e159c8be7d9270092e6648d0b946e91108bcf /tests/data/blexer-blockquote.md
parent9011ef7c4e768955bd3a4355d86eda39469bc127 (diff)
md_tw.py: Add TWBlockLexer.parse_block_quote.
* md_tw.py (TWBlockLexer.parse_block_quote): New method. (TWBlockLexer.__init__): Update method. * tests/test_md_tw.py (TestTWBlockLexer.test_parse_block_quote): New test. * tests/data/blexer-blockquote.md: New file.
Diffstat (limited to 'tests/data/blexer-blockquote.md')
-rw-r--r--tests/data/blexer-blockquote.md34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/data/blexer-blockquote.md b/tests/data/blexer-blockquote.md
new file mode 100644
index 0000000..5dce085
--- /dev/null
+++ b/tests/data/blexer-blockquote.md
@@ -0,0 +1,34 @@
+> 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.
+
+Making Me Nervous
+
+> 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.
+
+Bad Attraction
+
+> This is the first level of quoting.
+>
+> > This is nested blockquote.
+>
+> Back to the first level.
+
+Overreacting
+
+> ## This is a header.
+>
+> 1. This is the first list item.
+> 2. This is the second list item.
+>
+> Here's some example code:
+>
+> return shell_exec("echo $input | $markdown_script");