mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
doc: clarify description for MD026 punctuation (#587)
This commit is contained in:
parent
f4f9f8a773
commit
b5660eae7e
4 changed files with 5 additions and 4 deletions
|
|
@ -139,7 +139,7 @@
|
||||||
|
|
||||||
// MD026/no-trailing-punctuation - Trailing punctuation in heading
|
// MD026/no-trailing-punctuation - Trailing punctuation in heading
|
||||||
"MD026": {
|
"MD026": {
|
||||||
// Punctuation characters
|
// Punctuation characters not allowed at end of headings
|
||||||
"punctuation": ".,;:!。,;:!"
|
"punctuation": ".,;:!。,;:!"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,7 @@ MD025:
|
||||||
|
|
||||||
# MD026/no-trailing-punctuation - Trailing punctuation in heading
|
# MD026/no-trailing-punctuation - Trailing punctuation in heading
|
||||||
MD026:
|
MD026:
|
||||||
# Punctuation characters
|
# Punctuation characters not allowed at end of headings
|
||||||
punctuation: ".,;:!。,;:!"
|
punctuation: ".,;:!。,;:!"
|
||||||
|
|
||||||
# MD027/no-multiple-space-blockquote - Multiple spaces after blockquote symbol
|
# MD027/no-multiple-space-blockquote - Multiple spaces after blockquote symbol
|
||||||
|
|
|
||||||
|
|
@ -258,7 +258,8 @@ for (const rule of rules) {
|
||||||
case "MD026":
|
case "MD026":
|
||||||
scheme.properties = {
|
scheme.properties = {
|
||||||
"punctuation": {
|
"punctuation": {
|
||||||
"description": "Punctuation characters",
|
"description":
|
||||||
|
"Punctuation characters not allowed at end of headings",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": ".,;:!。,;:!"
|
"default": ".,;:!。,;:!"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -456,7 +456,7 @@
|
||||||
"default": true,
|
"default": true,
|
||||||
"properties": {
|
"properties": {
|
||||||
"punctuation": {
|
"punctuation": {
|
||||||
"description": "Punctuation characters",
|
"description": "Punctuation characters not allowed at end of headings",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": ".,;:!。,;:!"
|
"default": ".,;:!。,;:!"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue