Lint for likely-malformed reference style links #1952
Labels
A-documentation
Area: Adding or improving documentation
A-lint
Area: New lints
good-first-issue
These issues are a good way to get started with Clippy
L-correctness
Lint: Belongs in the correctness lint group
T-AST
Type: Requires working with the AST
I often come across the situation in markdown when I accidentally write the following:
This, though it might look like a reference style link, is not:
The correct syntax is as follows:
Clippy could lint against this likely-malformed reference link.
Notes:
[reference](<link>)
is on a line on its own (e.g. would be a valid reference target) andreference
could be a valid reference key.The text was updated successfully, but these errors were encountered: