mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-21 08:20:12 +01:00
Update MD010/no-hard-tabs to allow tabs in code spans when the code_blocks parameter is set to false (for consistency) (fixes #454).
This commit is contained in:
parent
0d9dfe7120
commit
d57b4770ed
6 changed files with 110 additions and 33 deletions
33
test/code-with-tabs-allowed.md
Normal file
33
test/code-with-tabs-allowed.md
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Code With Tabs Allowed
|
||||
|
||||
Text text {MD010}
|
||||
|
||||
Text `code code` text
|
||||
|
||||
Text ` code` text
|
||||
|
||||
Text `code ` text
|
||||
|
||||
Text `code code
|
||||
code code
|
||||
code code` text
|
||||
|
||||
console.log(" ");
|
||||
|
||||
```js
|
||||
console.log(" ");
|
||||
```
|
||||
|
||||
```j s {MD010}
|
||||
console.log(" ");
|
||||
```
|
||||
|
||||
console.log("");
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"code-block-style": false,
|
||||
"no-space-in-code": false,
|
||||
"no-hard-tabs": {
|
||||
"code_blocks": false
|
||||
}
|
||||
} -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue