mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-23 17:30:12 +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
35
test/descriptive-link-text-empty-config.md
Normal file
35
test/descriptive-link-text-empty-config.md
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# Descriptive link text empty config
|
||||
|
||||
[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)
|
||||
|
||||
[Learn more](https://example.com/images/about) about us.
|
||||
|
||||
[Click here](https://example.com/dir/file.txt).
|
||||
|
||||
[read more](https://example.com/guide).
|
||||
|
||||
To get more support, go [here!](https://example.com/contact).
|
||||
|
||||
Learn [more.](https://example.com/contact).
|
||||
|
||||
To learn about our company, [click here!!!!](https://example.com/about).
|
||||
|
||||
[click-here!!!!](https://example.com/first).
|
||||
|
||||
Go to this [link]((https://example.com/second)).
|
||||
|
||||
[link][url]
|
||||
|
||||
[url]: https://example.com
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"descriptive-link-text": {
|
||||
"link_texts": []
|
||||
}
|
||||
} -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue