mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-28 03:28:48 +01:00
Add new MD054/link-image-style rule (in-progress PR, no generated files).
This commit is contained in:
parent
20b8af5054
commit
460836445c
14 changed files with 296 additions and 11 deletions
18
test/link-style-reference-only.md
Normal file
18
test/link-style-reference-only.md
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Reference Link Style
|
||||
|
||||
Text [url {MD054}](https://example.com) text
|
||||
Text  text
|
||||
Text [url] text
|
||||
Text ![url] text
|
||||
Text [text][url] text
|
||||
Text ![text][url] text
|
||||
Text <https://example.com> {MD054} text
|
||||
Text [url][] text
|
||||
|
||||
[url]: https://example.com
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"link-image-style": {
|
||||
"style": "reference_only"
|
||||
}
|
||||
} -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue