mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Update MD039/no-space-in-links to report separate errors for start and end spaces (more granular; avoids conflicts).
This commit is contained in:
parent
daa155d5a1
commit
a6cf08dfc6
5 changed files with 990 additions and 270 deletions
File diff suppressed because it is too large
Load diff
Binary file not shown.
|
|
@ -48,11 +48,32 @@ function MoreCodeButNotCode(input) {
|
|||
[with](spaces)
|
||||
[error ]({MD039})
|
||||
|
||||
Wrapped [ link with leading space {MD039}
|
||||
](https://example.com)
|
||||
|
||||
Non-wrapped [ link with leading space](https://example.com) {MD039}
|
||||
|
||||
Non-wrapped [link with trailing space ](https://example.com) {MD039}
|
||||
|
||||
Non-wrapped [ link with leading and trailing space ](https://example.com) {MD039}
|
||||
|
||||
Wrapped [
|
||||
link with leading space](https://example.com) {MD039}
|
||||
|
||||
Wrapped [
|
||||
link with leading space](https://example.com) {MD009:-1} {MD039:-1}
|
||||
|
||||
Wrapped [link with trailing space
|
||||
](https://example.com) {MD009:-1} {MD039:-1}
|
||||
|
||||
Wrapped [link with trailing space
|
||||
](https://example.com) {MD039}
|
||||
|
||||
Wrapped [
|
||||
link with leading and trailing space
|
||||
](https://example.com) {MD009:-2} {MD039:-2} {MD039}
|
||||
|
||||
Wrapped [
|
||||
link with leading and trailing space
|
||||
](https://example.com) {MD009:-1} {MD039:-1}
|
||||
|
||||
[][ref]
|
||||
|
||||
[link][ref]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue