Open JFaulk1434 opened 1 year ago
Good catch. I'm not doing a parse of the text, I'm doing a "blind" search. As this can be an edge case I would propose to avoid having the mermaid declaration in all pictures. Otherwise, this is probably a lot of work and I will put this as "feature request" for a future version. I would be very happy if you want to contribute...
Request to skip nested code blocks
I was making a guide on mermaid in markdown and came across this extension which is amazing. But one thing I noticed is it also converts nested blocks. See examples below:
Will be converted:
The reason for this is to show mermaid code in markdown along with an example of the rendered image. End result should look like this: