-
I'd like to be able to show/hide markdown diagrams using the details. Currently, it does not show the mermaid diagram but instead shows the code:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
might be a corner case, will look into this 🙏 |
Beta Was this translation helpful? Give feedback.
-
I believe the issue occurs because the inner Mermaid diagram is first rendered to HTML, and then the shortcode tries to render it again, causing the problem. I suggest moving the diagram out or use HTML summary element instead of details shortcode here. |
Beta Was this translation helpful? Give feedback.
I believe the issue occurs because the inner Mermaid diagram is first rendered to HTML, and then the shortcode tries to render it again, causing the problem.
I suggest moving the diagram out or use HTML summary element instead of details shortcode here.