You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works well with mermaid@10, unfortunately fails to work with mermaid@11. I tried also moving to the esm module but as I don't have a filesystem but it's all in a single binary, I can't import mermaid from there.
Is there a way to run mermaid similar to what we did with the minimized common js file before?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using mermaid embedded in https://github.com/dreampuf/mermaid.go which uses chromedp to create svg / png files for rendered mermaid diagrams.
The source is embedded and evaluated in https://github.com/dreampuf/mermaid.go/blob/main/mermaid.go#L39
The diagram is rendered in https://github.com/dreampuf/mermaid.go/blob/main/mermaid.go#L59
This works well with mermaid@10, unfortunately fails to work with mermaid@11. I tried also moving to the esm module but as I don't have a filesystem but it's all in a single binary, I can't import mermaid from there.
Is there a way to run mermaid similar to what we did with the minimized common js file before?
Beta Was this translation helpful? Give feedback.
All reactions