mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-03 14:38:49 +01:00
Update MD053/link-image-reference-definitions to add ignored_definitions parameter (default to ["//"]) (fixes #545).
This commit is contained in:
parent
2c3e8c938b
commit
a6489acd6b
14 changed files with 234 additions and 31 deletions
17
test/reference-links-ignored-definitions.md
Normal file
17
test/reference-links-ignored-definitions.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# Reference Links Ignored Definitions
|
||||
|
||||
Used reference link: [label]
|
||||
|
||||
[label]: https://example.com/label
|
||||
[oops]: https://example.com/{MD053}
|
||||
[okay]: https://example.com/ignored
|
||||
[yep]: https://example.com/ignored
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"link-image-reference-definitions": {
|
||||
"ignored_definitions": [
|
||||
"okay",
|
||||
"yep"
|
||||
]
|
||||
}
|
||||
} -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue