Update MD005, MD007, MD022, MD037, MD038 to not report violations within "htmlFlow" context (fixes #999).

This commit is contained in:
David Anson 2023-10-21 22:03:11 -07:00
parent 2a56f130c1
commit 63325edc97
15 changed files with 511 additions and 149 deletions

37
test/markdown-in-html.md Normal file
View file

@ -0,0 +1,37 @@
# Markdown in HTML
Text
+ Item
Text
<p>
## Heading 2a
- Text *text* text * text * text ** text ** text `text` text ` text ` text
- Text https://example.com/ [ link ](https://example.com/)
</p>
<p>
### Heading 3a ###
Text
</p>
Text
<p>
## Heading 2b {MD019} {MD022}
- Text *text* text * text * text ** text ** text `text` text ` text ` text {MD004} {MD007} {MD032} {MD037} {MD038}
- Text https://example.com/ [ link ](https://example.com/) {MD004} {MD005} {MD039}
</p>
<p>
### Heading 3b {MD003} {MD021} {MD022} ###
Text
</p>
<!-- markdownlint-disable-file MD013 MD033 -->