-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Support CJK and emoji in markdown #3013
Comments
from @ikatyang #2943 (comment):
|
Was this done in #3015? |
No, I have to define how to split the CJK text, they're not separated by whitespaces. |
Gotcha! |
In the future, we will can use Intl.Segmenter API that is based on CLDR/ICU. For more details about text wrapping, see CSS Text Module Level 3. |
We may have to add an option for splitting CJK texts ( (markdown) 中文中文中文
中文中文中文
中文中文中文 (html) <p>中文中文中文
中文中文中文
中文中文中文</p> (rendered content)
There shouldn't be whitespaces between CJK characters. <p>中文中文中文中文中文中文中文中文中文</p>
Related discussion: markdown-it/markdown-it#334 |
from @azu #2943 (comment):
The text was updated successfully, but these errors were encountered: