Reimplement MD040/fenced-code-language using micromark tokens.

This commit is contained in:
David Anson 2024-02-18 17:22:32 -08:00
parent f5b5773b50
commit f26df4743c
5 changed files with 42 additions and 74 deletions

View file

@ -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: