siyuan-note / siyuan

A privacy-first, self-hosted, fully open source personal knowledge management software, written in typescript and golang.
https://b3log.org/siyuan
GNU Affero General Public License v3.0
16.57k stars 1.24k forks source link

改善代码片段的符号显示 #11413

Closed allrobot closed 2 weeks ago

allrobot commented 2 weeks ago

In what scenarios do you need this feature?

代码片段CSS显示成这样: image

实际上是: image

Describe the optimal solution

不应该组合符号,容易给用户带来误解,应该改成~=原始符号输出

不动用户数据 提倡不修改用户的数据

有需要的,应该放在设置的可选项

Describe the candidate solution

No response

Other information

No response

TCOTC commented 2 weeks ago

这个是字体的特性,请自行关闭代码块连字:

image

Temacc0531 commented 2 weeks ago

这个是字体的显示特性(可关闭),不是动用户数据