Skip to content

Markdown diagram inside details shortcode? #730

Closed Answered by imfing
ahgraber asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ahgraber
Comment options

Answer selected by ahgraber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants