mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-22 08:50:13 +01:00
Update MD038/no-space-in-code to allow code spans with only spaces (fixes #1481).
This commit is contained in:
parent
2d2fafc58d
commit
90cf515ff0
7 changed files with 56 additions and 68 deletions
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
empty `` codespan element
|
||||
|
||||
single space ` ` codespan element {MD038}
|
||||
single space ` ` codespan element
|
||||
|
||||
`,`, `.`
|
||||
|
||||
|
|
@ -106,7 +106,10 @@ No start space, end space: `code ` {MD038}
|
|||
|
||||
Single start and end space: ` code ` (explicitly allowed/trimmed by the specification)
|
||||
|
||||
All spaces: ` ` {MD038}
|
||||
All spaces: ` ` ` ` ` ` ` `
|
||||
|
||||
All line endings: `
|
||||
`
|
||||
|
||||
Double start and single end space: ` code ` {MD038}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue