mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-06 16:08:49 +01:00
Reimplement MD040/fenced-code-language using micromark tokens.
This commit is contained in:
parent
f5b5773b50
commit
f26df4743c
5 changed files with 42 additions and 74 deletions
|
|
@ -3,13 +3,13 @@
|
|||
Fence code block information with leading whitespace:
|
||||
|
||||
``` html
|
||||
<h1>markdownlint</h1> {MD040:5}
|
||||
<h1>markdownlint</h1>
|
||||
```
|
||||
|
||||
Fence code block information with trailing whitespace:
|
||||
|
||||
```css
|
||||
body {} {MD040:11} {MD009:11}
|
||||
body {} {MD009:11}
|
||||
```
|
||||
|
||||
Fence code block information with extra data:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue