This website requires JavaScript.
Explore
Help
Sign In
vitalif
/
prettier
Watch
1
Star
0
Fork
You've already forked prettier
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
2e2368f5d7
prettier
/
tests
/
markdown_splitCjkText
/
link.md
2 lines
140 B
Markdown
Raw
Normal View
History
Unescape
Escape
feat(markdown): support CJK and emoji (#3026) * refactor: extract `splitText` * fix: respcet CJK width in table * test: add failing test * fix: support emoji * test: add failing test * feat: support CJK character * feat: enable adding whitespace between non-CJK/CJK-character by default * fix: do not print softline at node that is sensitive to its identifier * fix: treat full-width whitespace as CJK punctuation * disallow leading/trailing full-width whitespace * feat: remove `--split-cjk-text` option and enable it by default * refactor: simplify regex and remove unnecessary `g` flag
2017-10-15 07:57:31 +03:00
[這是一段很長很長很長很長很長很長很長很長很長很長很長很長很長很長很長很長很長很長很長的段落][]