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

bash的代码块反斜杠会自动变成两个 #15

Closed
Apeng7364 opened this issue Nov 4, 2021 · 2 comments · Fixed by #16
Closed

bash的代码块反斜杠会自动变成两个 #15

Apeng7364 opened this issue Nov 4, 2021 · 2 comments · Fixed by #16
Labels
bug Something isn't working

Comments

@Apeng7364
Copy link

如图
image

@sunsonliu sunsonliu added the bug Something isn't working label Nov 4, 2021
@sunsonliu
Copy link
Collaborator

收到,麻烦 @jiawei686 帮忙定位下哈

@jiawei686
Copy link
Collaborator

jiawei686 commented Nov 4, 2021

感谢反馈!经过定位发现prism在渲染代码块时,部分语法如bash、shell、vb等会将斜杠\当作关键字进行渲染,从而\的计算中间产物\\不能正常通过dom转回\,我们已在 #16 中对其进行修复。

wty92911 pushed a commit to wty92911/cherry-markdown that referenced this issue May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants