mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-18 13:45:27 +01:00
23 lines
No EOL
464 B
Markdown
23 lines
No EOL
464 B
Markdown
# MD038 - Spaces inside code span elements
|
|
|
|
Tags: whitespace, code
|
|
|
|
Aliases: no-space-in-code
|
|
|
|
This rule is triggered on code span elements that have spaces right inside the
|
|
backticks:
|
|
|
|
` some text `
|
|
|
|
`some text `
|
|
|
|
` some text`
|
|
|
|
To fix this, remove the spaces inside the codespan markers:
|
|
|
|
`some text`
|
|
|
|
Note: A single leading or trailing space is allowed if used to separate codespan
|
|
markers from an embedded backtick:
|
|
|
|
`` ` embedded backtick`` |