diff options
author | rsiddharth <s@ricketyspace.net> | 2018-04-01 06:39:37 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2018-04-01 06:45:20 +0000 |
commit | bb09de93520ec43b23b70c99c1f5439a16cb255e (patch) | |
tree | f522d89569feff0ee4b73ca7ad393e7c4a4c988b /tests/data/renderer-block-quote.md | |
parent | 472fbff768ad431f3ca030bf899180252394f18d (diff) |
md_tw.py: Update TWMarkdown.output_block_quote.
Add subsequent indent text to all 'block' tokens inside block quote.
* md_tw.py (TWMarkdown.output_block_quote): Update method.
(TWRenderer.block_quote): Update method.
* tests/data/renderer-block-quote-w.md: New file.
* tests/data/renderer-block-quote.md: New file.
* tests/data/renderer-fences-w.md: Update file.
* tests/test_md_tw.py (test_render_block-_quote): New test.
Diffstat (limited to 'tests/data/renderer-block-quote.md')
-rw-r--r-- | tests/data/renderer-block-quote.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/data/renderer-block-quote.md b/tests/data/renderer-block-quote.md new file mode 100644 index 0000000..5dce085 --- /dev/null +++ b/tests/data/renderer-block-quote.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"); |