mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-25 00:16:09 +01:00
Add "enabled" and "severity"/"warning" to rule in Configuration object, add corresponding documentation and tests, update demo web app (fixes #254)”.
This commit is contained in:
parent
c6f248321e
commit
607be34b5d
20 changed files with 3792 additions and 867 deletions
47
test/configure-file-off-enable-inline.md
Normal file
47
test/configure-file-off-enable-inline.md
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# Configure File Off Enable Inline
|
||||
|
||||
+ List item
|
||||
|
||||
Text (text)[.]
|
||||
|
||||
<!-- markdownlint-disable -->
|
||||
|
||||
+ List item
|
||||
|
||||
Text (text)[.]
|
||||
|
||||
<!-- markdownlint-restore -->
|
||||
|
||||
+ List item
|
||||
|
||||
Text (text)[.]
|
||||
|
||||
<!-- markdownlint-enable MD004 MD011 -->
|
||||
|
||||
+ List item {MD004}
|
||||
|
||||
Text (text)[.] {MD011}
|
||||
|
||||
<!-- markdownlint-disable -->
|
||||
|
||||
+ List item
|
||||
|
||||
Text (text)[.]
|
||||
|
||||
<!-- markdownlint-enable MD004 MD011 -->
|
||||
|
||||
+ List item {MD004}
|
||||
|
||||
Text (text)[.] {MD011}
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"MD004": {
|
||||
"enabled": false,
|
||||
"severity": "warning",
|
||||
"style": "dash"
|
||||
},
|
||||
"MD011": {
|
||||
"enabled": false,
|
||||
"severity": "error"
|
||||
}
|
||||
} -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue