mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-06 07:58:49 +01:00
Add rule MD059/descriptive-link-text "Link text should be descriptive" (fixes #681).
This commit is contained in:
parent
4117394250
commit
b8374ec5d2
40 changed files with 1159 additions and 234 deletions
32
test/descriptive-link-text.md
Normal file
32
test/descriptive-link-text.md
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue