Prettier 3.3.3
Playground link
# Options (if any):
--prose-wrap=always --print-width=40
Input:
English 日本語日本語日本語日本語日本語日本語日本語日本語日本語日本語日本語日本語日本語日本語日本語日本語日本語日本語 English sentence
Output:
English 日本語日本語日本語日本語日本語日
本語日本語日本語日本語日本語日本語日本語
日本語日本語日本語日本語日本語日本語
English sentence
Expected output:
English 日本語日本語日本語日本語日本語日本語日本語日本語日本語日本語日本語日本語日本語日本語日本語日本語日本語日本語 English
sentence
Why?
The result expected in #14936 breaks the existing Markdown documents. We should temporally disable breaking a line not only between Chinese/Japanese characters but also between Latin and Chinese/Japanese characters.
This issue is opened for closed by #16691.
Prettier 3.3.3
Playground link
# Options (if any): --prose-wrap=always --print-width=40Input:
Output:
Expected output:
Why?
The result expected in #14936 breaks the existing Markdown documents. We should temporally disable breaking a line not only between Chinese/Japanese characters but also between Latin and Chinese/Japanese characters.
This issue is opened for closed by #16691.