Skip to content
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

Code block word break uses break-word #11408

Closed
Kaida-Amethyst opened this issue May 15, 2024 · 3 comments
Closed

Code block word break uses break-word #11408

Kaida-Amethyst opened this issue May 15, 2024 · 3 comments
Assignees
Milestone

Comments

@Kaida-Amethyst
Copy link

In what scenarios do you need this feature?

代码块样式现在的属性现在有一个word-break: break-all,当代码块中的某一行代码比较长的时候,会直接从单词中间进行截断,会比较影响观感。

1

3

Describe the optimal solution

希望能把这个word-break: break-all修改一下,去掉,或者修改成word-break:normal可能会好一些,或者不直接写在style里面,而是写到其它class里面这样好改一些:

修改后的样子

2

Describe the candidate solution

No response

Other information

No response

@88250
Copy link
Member

88250 commented May 15, 2024

这个之前讨论过,请参考 #11248

@88250 88250 closed this as completed May 15, 2024
@88250
Copy link
Member

88250 commented May 15, 2024

抱歉,那个讨论是行级代码的,这个是代码块。

@Vanessa219 有空看看哦。

@88250 88250 reopened this May 15, 2024
Vanessa219 added a commit that referenced this issue May 15, 2024
@Vanessa219 Vanessa219 added this to the 3.0.15 milestone May 15, 2024
@Vanessa219 Vanessa219 changed the title 希望可以修改代码块样式word-break属性值 Code block word break uses bread-word May 15, 2024
@Kaida-Amethyst
Copy link
Author

额(⊙o⊙)…标题.....“bread-word”?应该是break-word吧^ ▽ ^

@88250 88250 changed the title Code block word break uses bread-word Code block word break uses break-word May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants