mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +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
20
test/link-style-autolink-only.md
Normal file
20
test/link-style-autolink-only.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Autolink Link Style
|
||||
|
||||
Text [url](https://example.com) text {MD054}
|
||||
Text  text {MD054}
|
||||
Text [url] text {MD054}
|
||||
Text ![url] text {MD054}
|
||||
Text [text][url] text {MD054}
|
||||
Text ![text][url] text {MD054}
|
||||
Text <https://example.com> text
|
||||
Text [url][] text {MD054}
|
||||
|
||||
[url]: https://example.com
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"no-bare-urls": false,
|
||||
"link-image-reference-definitions": false,
|
||||
"link-image-style": {
|
||||
"style": "autolink_only"
|
||||
}
|
||||
} -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue