Update MD038/no-space-in-code to allow code spans with only spaces (fixes #1481).

This commit is contained in:
David Anson 2025-02-02 21:36:35 -08:00
parent 2d2fafc58d
commit 90cf515ff0
7 changed files with 56 additions and 68 deletions

View file

@ -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}