mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-03-06 02:20:16 +01:00
Exclude htmlFlow content by default for filterByTypes, opt in as needed.
This commit is contained in:
parent
ea9659841e
commit
12502f6571
18 changed files with 206 additions and 129 deletions
|
|
@ -16101,6 +16101,12 @@ Generated by [AVA](https://avajs.dev).
|
|||
## Heading 2␊
|
||||
␊
|
||||
#### Heading 4 {MD001}␊
|
||||
␊
|
||||
<p>␊
|
||||
###### Not heading␊
|
||||
</p>␊
|
||||
␊
|
||||
<!-- markdownlint-disable-file no-inline-html -->␊
|
||||
`,
|
||||
}
|
||||
|
||||
|
|
@ -39577,6 +39583,22 @@ Generated by [AVA](https://avajs.dev).
|
|||
'no-alt-text',
|
||||
],
|
||||
},
|
||||
{
|
||||
errorContext: null,
|
||||
errorDetail: null,
|
||||
errorRange: [
|
||||
3,
|
||||
23,
|
||||
],
|
||||
fixInfo: null,
|
||||
lineNumber: 68,
|
||||
ruleDescription: 'Images should have alternate text (alt text)',
|
||||
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md045.md',
|
||||
ruleNames: [
|
||||
'MD045',
|
||||
'no-alt-text',
|
||||
],
|
||||
},
|
||||
],
|
||||
fixed: `# Images with and without alternate text␊
|
||||
␊
|
||||
|
|
@ -39644,6 +39666,10 @@ Generated by [AVA](https://avajs.dev).
|
|||
␊
|
||||
Uppercase image tag with no alt set <IMG SRC="cat.png" /> {MD045}␊
|
||||
␊
|
||||
<p>␊
|
||||
<img src="image.png" /> {MD045}␊
|
||||
</p>␊
|
||||
␊
|
||||
<!-- markdownlint-restore no-inline-html -->␊
|
||||
␊
|
||||
[notitle]: image.jpg␊
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue