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

Improve code block chart paste-rendering #11972

Closed
3 tasks done
hihaojie opened this issue Jul 14, 2024 · 0 comments
Closed
3 tasks done

Improve code block chart paste-rendering #11972

hihaojie opened this issue Jul 14, 2024 · 0 comments
Assignees
Milestone

Comments

@hihaojie
Copy link

hihaojie commented Jul 14, 2024

代码块为 mermaid 时,从 VSCode 粘贴代码时的渲染问题

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

当上一个代码块的类型设置为“mermaid”,从 VSCode 中拷贝的代码,将默认为“mermaid 代码块”,无法正常显示,需要刷新才能正常显示

Expected result

此类情况下,从 VSCode 中拷贝的代码不再默认为“mermaid 代码块”,并且可以正常显示,无需手动刷新

Screenshot or screen recording presentation

mermaid.mp4

image

Version environment

- Version: 3.1.0
- Operating System: Windows10、Windows11
- Browser (if used):

Log file

None

More information

关于 mermaid 代码块的问题,之前有过一次同类的事情 #10644

@88250 88250 added this to the 3.1.7 milestone Sep 11, 2024
@88250 88250 changed the title 代码块为 mermaid 时,从 VSCode 粘贴代码时的渲染问题 Improve code block chart rendering Sep 11, 2024
@88250 88250 changed the title Improve code block chart rendering Improve code block chart paste-rendering Sep 11, 2024
Vanessa219 added a commit that referenced this issue Sep 12, 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