[GH-ISSUE #192] MD036 is not support the punctuation '。' #2015

Closed
opened 2026-03-07 20:03:43 +03:00 by kerem · 3 comments
Owner

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.

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.
kerem 2026-03-07 20:03:43 +03:00
Author
Owner

@DavidAnson commented on GitHub (May 28, 2019):

The issue title says MD036, but I think you mean MD026, right?

The punctuation parameter of MD026 already lets you change the list of characters: https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md026

Example: github.com/DavidAnson/markdownlint@2710c375b3/test/heading_trailing_punctuation_customized.json

However, 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!

<!-- gh-comment-id:496582560 --> @DavidAnson commented on GitHub (May 28, 2019): > The issue title says MD036, but I think you mean MD026, right? The `punctuation` parameter of MD026 already lets you change the list of characters: https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md026 Example: https://github.com/DavidAnson/markdownlint/blob/2710c375b3c9b9b6531d546b667f50f7d0c956f2/test/heading_trailing_punctuation_customized.json However, 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!
Author
Owner

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

<!-- gh-comment-id:498070972 --> @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.
Author
Owner

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

<!-- gh-comment-id:498176642 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#2015
No description provided.