memos
memos copied to clipboard
在一个 Memo中 有多个 mermaid 块,可能导致生成的svg ID是一样的,导致渲染不对。
Describe the bug
比如: f:
flowchart LR
foo-->bar
bar-->baz
s:
flowchart LR
a-->b
正常情况下:
多次切换或刷新,不定时出现svg ID一致:
Steps to reproduce
- 在一个 Memo中添加多个 mermaid
- 通过刷新,功能切换
- 不时出现 渲染出的svg ID是一样的,导致样式错误。
The version of Memos you're using
v0.20.0
Screenshots or additional context
Issue is not in English. It has been translated automatically.
Title: If there are multiple mermaid blocks in a Memo, the generated svg ID may be the same, resulting in incorrect rendering.
Sorry, I cannot reproduce in the latest version. Maybe needs more context.