mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Update re-implementation of MD044/proper-names to exclude link destinations and references.
This commit is contained in:
parent
4db40256d9
commit
72543a82e7
4 changed files with 99 additions and 16 deletions
43
test/proper-names-links.md
Normal file
43
test/proper-names-links.md
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
# Proper names in links
|
||||
|
||||
javascript {MD044}
|
||||
|
||||
Learn about JavaScript here: https://example.com/javascript/about
|
||||
|
||||
Learn about JavaScript here: <https://example.com/javascript/about>
|
||||
|
||||
Learn about [JavaScript](https://example.com/javascript/about).
|
||||
|
||||
Learn about [JavaScript](wiki/javascript/about).
|
||||
|
||||
Learn about [JavaScript](wiki/javascript).
|
||||
|
||||
Learn about [JavaScript](javascript/about).
|
||||
|
||||
Learn about [JavaScript](javascript).
|
||||
|
||||
Learn about [JavaScript][js].
|
||||
|
||||
Learn about [JavaScript][example-js].
|
||||
|
||||
Learn about [JavaScript][javascript].
|
||||
|
||||
Learn about [javascript][js]. {MD044}
|
||||
|
||||
Learn about [javascript][example-js]. {MD044}
|
||||
|
||||
Learn about [javascript]. {MD044}
|
||||
|
||||
[js]: https://example.com/javascript/about
|
||||
[example-js]: javascript
|
||||
[javascript]: https://example.com/js
|
||||
[javascript]: https://example.com/js {MD044}
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"proper-names": {
|
||||
"names": [
|
||||
"JavaScript"
|
||||
]
|
||||
},
|
||||
"no-bare-urls": false
|
||||
} -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue