mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Update documentation for MD034/no-bare-urls to recommend percent-encoding (closes #1212).
This commit is contained in:
parent
38cbbc9669
commit
90b572f292
3 changed files with 15 additions and 0 deletions
|
@ -11,6 +11,11 @@ To fix this, add angle brackets around the URL or email address:
|
||||||
For more info, visit <https://www.example.com/> or email <user@example.com>.
|
For more info, visit <https://www.example.com/> or email <user@example.com>.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If a URL or email address contains non-ASCII characters, it may be not be
|
||||||
|
handled as intended even when angle brackets are present. In such cases,
|
||||||
|
[percent-encoding](https://en.m.wikipedia.org/wiki/Percent-encoding) can be used
|
||||||
|
to comply with the required syntax for URL and email.
|
||||||
|
|
||||||
Note: To include a bare URL or email without it being converted into a link,
|
Note: To include a bare URL or email without it being converted into a link,
|
||||||
wrap it in a code span:
|
wrap it in a code span:
|
||||||
|
|
||||||
|
|
|
@ -1354,6 +1354,11 @@ To fix this, add angle brackets around the URL or email address:
|
||||||
For more info, visit <https://www.example.com/> or email <user@example.com>.
|
For more info, visit <https://www.example.com/> or email <user@example.com>.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If a URL or email address contains non-ASCII characters, it may be not be
|
||||||
|
handled as intended even when angle brackets are present. In such cases,
|
||||||
|
[percent-encoding](https://en.m.wikipedia.org/wiki/Percent-encoding) can be used
|
||||||
|
to comply with the required syntax for URL and email.
|
||||||
|
|
||||||
Note: To include a bare URL or email without it being converted into a link,
|
Note: To include a bare URL or email without it being converted into a link,
|
||||||
wrap it in a code span:
|
wrap it in a code span:
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,11 @@ To fix this, add angle brackets around the URL or email address:
|
||||||
For more info, visit <https://www.example.com/> or email <user@example.com>.
|
For more info, visit <https://www.example.com/> or email <user@example.com>.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If a URL or email address contains non-ASCII characters, it may be not be
|
||||||
|
handled as intended even when angle brackets are present. In such cases,
|
||||||
|
[percent-encoding](https://en.m.wikipedia.org/wiki/Percent-encoding) can be used
|
||||||
|
to comply with the required syntax for URL and email.
|
||||||
|
|
||||||
Note: To include a bare URL or email without it being converted into a link,
|
Note: To include a bare URL or email without it being converted into a link,
|
||||||
wrap it in a code span:
|
wrap it in a code span:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue