Update MD034/no-bare-urls to allow quoting bare URLs.

This commit is contained in:
David Anson 2020-04-08 21:58:52 -07:00
parent e319f9501c
commit 320acfd7cc
4 changed files with 28 additions and 5 deletions

View file

@ -1262,7 +1262,14 @@ with `MD011`/`no-reversed-links`:
[https://www.example.com]
```
Rationale: Without angle brackets, the URL isn't converted into a link in many
The use of quotes around a bare link will _not_ trigger this rule, either:
```markdown
"https://www.example.com"
'https://www.example.com'
```
Rationale: Without angle brackets, the URL isn't converted into a link by many
markdown parsers.
<a name="md035"></a>