Update MD038/no-space-in-code to avoid a possible range error for indented code fences.

This commit is contained in:
David Anson 2023-12-06 21:22:29 -08:00
parent 0e80fa5720
commit 9f87e7dc60
5 changed files with 82 additions and 20 deletions

View file

@ -47853,6 +47853,35 @@ Generated by [AVA](https://avajs.dev).
text \`\` \` leading and trailing␊
space allowed for backtick \` \`\` text␊
<!-- markdownlint-disable blanks-around-fences fenced-code-language -->
Text␊
\`\`\`␊
Code␊
\`\`\`␊
Text␊
\`\`\`␊
Code␊
\`\`\`␊
Text␊
\`\`\`␊
Code␊
\`\`\`␊
Text␊
\`\`\`␊
Code␊
\`\`\`␊
Text␊
Text␊
\`\`\`␊
Code␊
\`\`\`␊
Text␊
`,
}

View file

@ -137,3 +137,32 @@ not allowed ` `` text {MD038}
text `` ` leading and trailing
space allowed for backtick ` `` text
<!-- markdownlint-disable blanks-around-fences fenced-code-language -->
Text
```
Code
```
Text
```
Code
```
Text
```
Code
```
Text
```
Code
```
Text
Text
```
Code
```
Text