Add rule MD059/descriptive-link-text "Link text should be descriptive" (fixes #681).

This commit is contained in:
Kate Higa 2025-01-06 11:35:17 -05:00 committed by David Anson
parent 4117394250
commit b8374ec5d2
40 changed files with 1159 additions and 234 deletions

View file

@ -0,0 +1,32 @@
# Descriptive link text
[Learn about Javascript](https://example.com/javascript/about)
[About Javascript](https://example.com/file.txt)
Learn about [our mission](https://example.com/mission).
Go [here](https://example.com/descriptive-links) {MD059}
[Learn more](https://example.com/images/about) about us. {MD059}
[Click here](https://example.com/dir/file.txt). {MD059}
[read more](https://example.com/guide). {MD059}
To get more support, go [here!](https://example.com/contact). {MD059}
Learn [more](https://example.com/contact). {MD059}
To learn more, [click here!!!!](https://example.com/about). {MD059}
[click-here!!!!](https://example.com/first). {MD059}
Go to this [link]((https://example.com/second)). {MD059}
[link][Example URL] {MD059}
[Example URL]: https://example.com
{MD059} [click
here](https://example.com)