From e470086d3be5a3d674805907b1de91f91f3e3e03 Mon Sep 17 00:00:00 2001 From: David Anson Date: Fri, 10 Apr 2020 19:21:58 -0700 Subject: [PATCH] Sync to latest test file changes from Ruby implementation, commit 1e78c89224fe72572dc6f6c956da284ec7dafe62. --- test/fenced_code_blocks_in_lists.md | 40 +++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 test/fenced_code_blocks_in_lists.md diff --git a/test/fenced_code_blocks_in_lists.md b/test/fenced_code_blocks_in_lists.md new file mode 100644 index 00000000..ed5302a7 --- /dev/null +++ b/test/fenced_code_blocks_in_lists.md @@ -0,0 +1,40 @@ +# test doc + +this is some text + +* This is a list item + + ```fenced + this is a code block within the list item. + ``` + + with more text here + +* and another list item here + +And another paragraph. + + But this code block {MD046} + + is *NOT* in a list and should error. + +And in addition to that... + + ```text + This code block is both indented + and fenced and should *also* error. + ``` + +And finally: + +```text +This is a code block + + And this is a code block in a code block and should *not* error + +More stuff here +``` + +all + +{MD046:23}