mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-23 09:20:12 +01:00
Reimplement MD038/no-space-in-code using micromark tokens.
This commit is contained in:
parent
b787758a48
commit
962547ecc8
6 changed files with 219 additions and 93 deletions
|
|
@ -122,3 +122,18 @@ Again, 3 characters: ` abc `
|
|||
Again, 2 characters: ` ab `
|
||||
Again, 1 character: ` a `
|
||||
Many internal spaces: ` code code code code code code `
|
||||
|
||||
text ``` ` leading space
|
||||
allowed for backtick``` text
|
||||
|
||||
text ``` ` multiple leading {MD038}
|
||||
spaces not allowed``` text
|
||||
|
||||
text ``trailing space
|
||||
allowed for backtick ` `` text
|
||||
|
||||
text ``multiple trailing spaces
|
||||
not allowed ` `` text {MD038}
|
||||
|
||||
text `` ` leading and trailing
|
||||
space allowed for backtick ` `` text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue