mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Sync to latest test file changes from Ruby implementation, commit 1e78c89224fe72572dc6f6c956da284ec7dafe62.
This commit is contained in:
parent
214ecb5fb4
commit
e470086d3b
1 changed files with 40 additions and 0 deletions
40
test/fenced_code_blocks_in_lists.md
Normal file
40
test/fenced_code_blocks_in_lists.md
Normal file
|
|
@ -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}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue