mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #192] MD036 is not support the punctuation '。' #2015
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#2015
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ukipoi on GitHub (May 28, 2019).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/192
'。' is a punctuation in Chinese like '.' in English.
I hope the new version supports this punctuation.
@DavidAnson commented on GitHub (May 28, 2019):
The
punctuationparameter of MD026 already lets you change the list of characters: https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md026Example:
github.com/DavidAnson/markdownlint@2710c375b3/test/heading_trailing_punctuation_customized.jsonHowever, if this is a common punctuation character in Chinese, I don’t mind adding it to the default list. To do so, I would need some example text to create the test case from. If you want, please include some examples here. Otherwise, I will close this issue because it is already supported.
Thank you!
@DavidAnson commented on GitHub (Jun 2, 2019):
More info here: https://en.wikipedia.org/wiki/Chinese_punctuation
It looks like each of the 6 current default punctuation characters have a corresponding full-width representation that could be added.
@TheDauntless commented on GitHub (Jun 3, 2019):
The same period is used in Japanese. You can find a test-case here:
https://github.com/OWASP/owasp-masvs/blob/master/Document-ja/0x03-Using_the_MASVS.md
I'll try adding the period myself for now via the json.