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
Markdown: unnecessary space is inserted between Korean & English words #5028
Comments
Is the space there invalid (i.e., its meaning changed) or unnecessary? We added spaces there for readability, I know it's valid in Chinese and Japanese, but I'm not sure if it's valid in Korean. |
no critical meaning changes but it's awkward mostly. so I think there is no need to insert spaces for Korean. |
According to Korean Text Layout and pp. 518 of CJKV Information Processing (ref: ikatyang/cjk-regex#48), the convention is to use extra space:
|
Thank you for letting me know about the official(or standard) documents. Here are some examples:
and this is the case where we follow the Hangul spacing rules in Latin characters: |
Based on #5028 (comment), it seems Korean text uses conventional space so we're not going to add whitespaces between Latin and Hangul.
Prettier 1.14.2
Playground link
Input:
Output:
Expected behavior:
Currently, markdown formatting automatically inserts unnecessary spaces between Korean & English characters.
I guess that the issue is caused by #3026 (cjk support in markdown).
Korean already has the syntax for spacing, So automatically inserting spaces between e(english) & k(korean) is not neccesary.
The text was updated successfully, but these errors were encountered: