mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
parent
fd06a50ee5
commit
e9b3cc4c18
17 changed files with 232 additions and 25 deletions
|
|
@ -334,6 +334,20 @@ rules.forEach(function forRule(rule) {
|
|||
}
|
||||
};
|
||||
break;
|
||||
case "MD048":
|
||||
scheme.properties = {
|
||||
"style": {
|
||||
"description": "Code fence syle",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"consistent",
|
||||
"backtick",
|
||||
"tilde"
|
||||
],
|
||||
"default": "consistent"
|
||||
}
|
||||
};
|
||||
break;
|
||||
default:
|
||||
custom = false;
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -1339,6 +1339,48 @@
|
|||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"MD048": {
|
||||
"description": "MD048/code-fence-style - Code fence style",
|
||||
"type": [
|
||||
"boolean",
|
||||
"object"
|
||||
],
|
||||
"default": true,
|
||||
"properties": {
|
||||
"style": {
|
||||
"description": "Code fence syle",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"consistent",
|
||||
"backtick",
|
||||
"tilde"
|
||||
],
|
||||
"default": "consistent"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"code-fence-style": {
|
||||
"description": "MD048/code-fence-style - Code fence style",
|
||||
"type": [
|
||||
"boolean",
|
||||
"object"
|
||||
],
|
||||
"default": true,
|
||||
"properties": {
|
||||
"style": {
|
||||
"description": "Code fence syle",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"consistent",
|
||||
"backtick",
|
||||
"tilde"
|
||||
],
|
||||
"default": "consistent"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"headings": {
|
||||
"description": "headings - MD001, MD002, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026, MD036, MD041, MD043",
|
||||
"type": "boolean",
|
||||
|
|
@ -1390,7 +1432,7 @@
|
|||
"default": true
|
||||
},
|
||||
"code": {
|
||||
"description": "code - MD014, MD031, MD038, MD040, MD046",
|
||||
"description": "code - MD014, MD031, MD038, MD040, MD046, MD048",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue