mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-09 17:38:50 +01:00
Update MD038/no-space-in-code to allow the "single leading and trailing space" scenario (fixes #271).
This commit is contained in:
parent
6ce426cf88
commit
65b19b703b
8 changed files with 102 additions and 79 deletions
|
|
@ -95,3 +95,19 @@ Text [link](#link(link`link) text `code`. {MD038}
|
|||
Text [`link`](xref:custom.link`1) text `code`.
|
||||
|
||||
Text ``code [link](#link`link) code`` text `code`.
|
||||
|
||||
No space, start or end: `code`
|
||||
|
||||
Start space, no end space: ` code` {MD038}
|
||||
|
||||
No start space, end space: `code ` {MD038}
|
||||
|
||||
Single start and end space: ` code ` (explicitly allowed/trimmed by the specification)
|
||||
|
||||
All spaces: ` ` {MD038}
|
||||
|
||||
Double start and single end space: ` code ` {MD038}
|
||||
|
||||
Single start and double end spaces: ` code ` {MD038}
|
||||
|
||||
Double start and end spaces: ` code ` {MD038}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue