mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-27 17:36:10 +01:00
Reimplement MD034/no-bare-urls using micromark tokens (fixes #707).
This commit is contained in:
parent
64159fa456
commit
b990b3ea77
22 changed files with 1495 additions and 947 deletions
|
|
@ -8,8 +8,6 @@ https://www.google.com/ {MD034}
|
|||
|
||||
hTtPs://gOoGlE.cOm/ {MD034}
|
||||
|
||||
ftp://user:password@ftp-server.example.com/dir/file.txt {MD034}
|
||||
|
||||
This link should be fine: <https://www.google.com/>
|
||||
|
||||
The following are allowed to avoid conflicts with MD011/no-reversed-links:
|
||||
|
|
@ -17,13 +15,6 @@ The following are allowed to avoid conflicts with MD011/no-reversed-links:
|
|||
[https://example.com]
|
||||
[https://example.com/search?query=text]
|
||||
|
||||
The following are allowed to avoid conflicts with HTML-like syntax:
|
||||
|
||||
"https://example.com"
|
||||
"https://example.com/search?query=text"
|
||||
'https://example.com'
|
||||
'https://example.com/search?query=text'
|
||||
|
||||
Other enclosures are not allowed:
|
||||
|
||||
(https://example.com) {MD034}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue