mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-05 23:48:49 +01:00
Update MD054/link-image-style to split reference parameter into full/collapsed/shortcut parameters (fixes #918).
This commit is contained in:
parent
4390715f4b
commit
063310e51a
21 changed files with 2583 additions and 80 deletions
81
test/link-style-none.md
Normal file
81
test/link-style-none.md
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
# Link Style autolink_only
|
||||
|
||||
Text [url](https://example.com) text {MD054}
|
||||
|
||||
Text  text {MD054}
|
||||
|
||||
Text [url](<https://example.com>) text {MD054}
|
||||
|
||||
Text  text {MD054}
|
||||
|
||||
Text [url](https://example.com "title") text {MD054}
|
||||
|
||||
Text  text {MD054}
|
||||
|
||||
Text {MD054} [url](https://example.com
|
||||
"title") text
|
||||
|
||||
Text {MD054}  text
|
||||
|
||||
Text [text][url] text {MD054}
|
||||
|
||||
Text ![text][url] text {MD054}
|
||||
|
||||
Text [url][] text {MD054}
|
||||
|
||||
Text ![url][] text {MD054}
|
||||
|
||||
Text [url] text {MD054}
|
||||
|
||||
Text ![url] text {MD054}
|
||||
|
||||
Text <https://example.com> text {MD054}
|
||||
|
||||
[url]: https://example.com "title"
|
||||
|
||||
[undefined]
|
||||
|
||||
Text [url](https://example.com/embedded\3backslash) text {MD054}
|
||||
|
||||
Text [url](https://example.com/backslash\[escape) text {MD054}
|
||||
|
||||
Text [embedded-backslash] text {MD054}
|
||||
|
||||
Text [backslash-escape] text {MD054}
|
||||
|
||||
Text <https://example.com/embedded\3backslash> text {MD054}
|
||||
|
||||
Text <https://example.com/backslash[no-escape> text {MD054}
|
||||
|
||||
[embedded-backslash]: https://example.com/embedded\3backslash
|
||||
|
||||
[backslash-escape]: https://example.com/backslash\[escape
|
||||
|
||||
Text [url](<https://example.com/embedded space>) text {MD054}
|
||||
|
||||
Text [url](<https://example.com/embedded)paren>) text {MD054}
|
||||
|
||||
Text [url](https://example.com/\(parens\)) text {MD054}
|
||||
|
||||
Text [url](https://example.com/pa(re(ns))) text {MD054}
|
||||
|
||||
Text [url](relative/path) text {MD054}
|
||||
|
||||
Text [url](#fragment) text {MD054}
|
||||
|
||||
Text <https://example.com/pa)re(ns> text {MD054}
|
||||
|
||||
Text [url](https://example.com/an>g<le>) text {MD054}
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"link-fragments": false,
|
||||
"link-image-reference-definitions": false,
|
||||
"link-image-style": {
|
||||
"autolink": false,
|
||||
"inline": false,
|
||||
"full": false,
|
||||
"collapsed": false,
|
||||
"shortcut": false
|
||||
}
|
||||
} -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue