-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Set prose-wrap to preserve
by default
#25137
Comments
I personally prefer |
I don't have very strong opinions, but the pro of setting it to |
After seeing this, I realized that the problem is that Natural languages like Japanese and Chinese do not use spaces to separate text. However, English words often appear in sentences, so they are separated unnaturally. I don't know if |
Ideal implementation of
The above is rendered as Moreover, there are some Markdown extension incompatible with :::warning
These 3 lines can be mistakenly merged into single line.
::: The above admonition is not compatible with Prettier's |
Prettier's default is |
This cons may not exist in anglosphere, but a popular Japanese technology blog site (Zenn) recognizes new lines in markdown as new lines, so when markdown is formatted using
deno fmt
, it will break. Also, the commonly used Prettier's defaults to prose-wrap:preserve
. Therefore, it is better to set prose-wrap topreserve
by default.I understand that it can be changed in the options, but I don't know the pros of setting it to
always
by default.Related: #9191 prettier/prettier#6516
The text was updated successfully, but these errors were encountered: