no-space-in-links
What it does
Section titled “What it does”Reports link text that starts or ends with a space ([ docs ](url)).
Why it matters
Section titled “Why it matters”The spaces become part of the link, so the underlined, clickable text has blanks at its ends and the link looks off.
To fix, move the spaces out of the brackets.
Example
Section titled “Example”A [ docs](https://example.com) and [docs ](https://example.com) and [docs](https://example.com).Configuration
Section titled “Configuration”markdown: lint: rules: no-space-in-links: warn # off (default), warn, errorEnabled by the presets: markdown/markdownlint.
Suppress one line with sudsy-disable-next-line no-space-in-links in a comment of the file’s language.
Upstream equivalents
Section titled “Upstream equivalents”The same check in other tools; Sudsy reports what each upstream rule reports.
| Tool | Rule | Match |
|---|---|---|
| markdownlint | MD039 |
full |