-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax parse fails with Japanese punctuation (、
), strong syntax and code syntax
#2531
Comments
looks like the issue is that According to the spec the puctuation should include:
|
So, now you support only ASCII punctuations, right? The character Could you support such Unicode punctuations? |
And, I think it should be also supported as a space character besides space ( |
Hi @UziTech can I work on this too? This one looks interesting 😀 . I might need to have some tests for japanese and chinese texts too. |
@azmy60 ya you can take any that you think you can help with |
There is an exhaustive collection of utf8 punctuation in CommonMark. Do you think we should add all of it @UziTech ? I'm not really sure how to make the tests though. Adding the Ideographic Comma (as @KSR-Yasuda suggested) to the punctuation list works just fine with his example. [UPDATE] Apparently, adding the rest of unicode punctuations also fixes #2041 by having |
Marked version:
Describe the bug
A clear and concise description of what the bug is.
Copy from volca/markdown-preview#135.
The case below, it does not parse syntax correctly.
With Japanese punctuation (
、
), strong syntax (**
), and code syntax (`
),it needs some space to make them parsed correctly (The former 3 examples).
Although, without code syntax, no extra space is required (The latter 3 examples).
So it isn't a syntax parsing problem with CJK symbol characters?
To Reproduce
Steps to reproduce the behavior:
As above.
Expected behavior
A clear and concise description of what you expected to happen.
Parse the syntax correctly as Pandoc.
The text was updated successfully, but these errors were encountered: