1
0
forked from Rowland/EG
EG/Cesium-1.132/node_modules/markdownlint/doc/md042.md
2025-08-25 17:48:13 +08:00

523 B

MD042 - No empty links

Tags: links

Aliases: no-empty-links

This rule is triggered when an empty link is encountered:

[an empty link]()

To fix the violation, provide a destination for the link:

[a valid link](https://example.com/)

Empty fragments will trigger this rule:

[an empty fragment](#)

But non-empty fragments will not:

[a valid fragment](#fragment)

Rationale: Empty links do not lead anywhere and therefore don't function as links.