-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
fix(markdown): do not add whitespaces between Latin and Hangul #5040
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
fix(markdown): do not add whitespaces between Latin and Hangul #5040
Conversation
| } | ||
|
|
||
| const json = JSON.stringify( | ||
| require(id.replace(/^\0commonjs-proxy:/, "")), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does this \0commonjs-proxy: come from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rollup-plugin-commonjs I guess?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah okay, I was just confused
| // Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
|
||
| exports[`cjk.md - markdown-verify 1`] = ` | ||
| exports[`cj.md - markdown-verify 1`] = ` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about renaming these to chinese-japanese.md and korean.md so it’s clearer at first glance what they’re testing?
Or are cj and k common abbreviations?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've seen CJK, but never CJ and K as separate abbreviations
Fixes #5028
Based on #5028 (comment), it seems Korean text uses conventional space so we're not going to add whitespaces between Latin and Hangul.
Prettier pr-5040
Playground link
Input:
Output:
docs/directory)