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

markdown中mermaid画图bug #1857

Open
aiyinluya opened this issue Nov 12, 2024 · 0 comments
Open

markdown中mermaid画图bug #1857

aiyinluya opened this issue Nov 12, 2024 · 0 comments

Comments

@aiyinluya
Copy link

当使用mermaid画图时,如果节点文字内容过长就会显示代码而不是图片

比如如下的代码,当删除E --> F这一行或者将这一行文字删除部分,图像就能正常预览,否则就会显示原始代码:
A[设计模式]
A --> B[创建型模式]
A --> C[结构型模式]
A --> D[行为型模式]

B --> E[单例模式]
E --> F[确保一个类只有一个实例,并提供一个全局访问点]

B --> G[原型模式]
G --> H[通过复制现有的实例创建新的实例]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant