From 08f44ce7e60f61a2a87a71ee033b045b8d995125 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Tue, 21 Feb 2017 02:21:25 +0000 Subject: tests.tests.mdl_style: Add tests for `mdl_style.LSRenderer`. * TODO: Update file. * tests/data/does_not_parse_blockquotes_00.md: Add file. * tests/data/does_not_parse_codeblocks_00.md: Add file. * tests/data/does_not_parse_headers_00.md: Add file. * tests/data/does_not_parse_hrules_00.md: Add file. * tests/data/does_not_parse_link_breaks_00.md: Add file. * tests/data/does_not_parse_lists_00.md: Add file. * tests/test_mdl_style.py (TestLSRendererIL.test_renderer_does_not_parse_link_breaks): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_headers): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_blockquotes): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_lists): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_codeblocks): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_hrules): Add test method. --- tests/data/does_not_parse_blockquotes_00.md | 37 +++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 tests/data/does_not_parse_blockquotes_00.md (limited to 'tests/data/does_not_parse_blockquotes_00.md') diff --git a/tests/data/does_not_parse_blockquotes_00.md b/tests/data/does_not_parse_blockquotes_00.md new file mode 100644 index 0000000..ed38dd6 --- /dev/null +++ b/tests/data/does_not_parse_blockquotes_00.md @@ -0,0 +1,37 @@ +Canonical blockquotes + +> 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. + +Lazy blockquotes + +> 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. + +Nested blockquotes + +> This is the first level of quoting. +> +> > This is nested blockquote. +> +> Back to the first level. + +Markdown elements inside blockquotes. + +> ## 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"); -- cgit v1.2.3