doc: clarify description for MD026 punctuation (#587)

This commit is contained in:
Nick Schonning 2022-09-23 11:00:07 -04:00 committed by GitHub
parent f4f9f8a773
commit b5660eae7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 4 deletions

View file

@ -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": ".,;:!。,;:!"
}, },

View file

@ -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

View file

@ -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": ".,;:!。,;:!"
} }

View file

@ -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": ".,;:!。,;:!"
} }