Please confirm that you have searched existing issues in the repo
Yes, I have searched the existing issues
Any related issues?
No response
Tell us about your environment
Win 11
MarkBind version
5.6.0
Describe the bug and the steps to reproduce it
On the left is Vue3, right is Vue2. There seem to be a little issue with the rendering of the mermaid diagram.
Originally posted by @IanCheah in #2622 (comment)
Here is a screenshot:
Sometimes there is the CORS issue (left), sometimes there is no CORS issue (right). Both screenshots were taken of the same page at different times. Seems to be flaky.

https://markbind-master.netlify.app/userguide/components/imagesanddiagrams#mermaid-diagrams
Expected behavior
Should work.
Anything else?
Seems to be quite a concerning regression actually, not sure why this is the case and why it was only spotted so late on by @IanCheah.
However, since it is a CORS issue, if we directly support offline loading (#2548) and bundle it together it should totally resolve the issue.
Please confirm that you have searched existing issues in the repo
Yes, I have searched the existing issues
Any related issues?
No response
Tell us about your environment
Win 11
MarkBind version
5.6.0
Describe the bug and the steps to reproduce it
On the left is Vue3, right is Vue2. There seem to be a little issue with the rendering of the mermaid diagram.
Originally posted by @IanCheah in #2622 (comment)
Here is a screenshot:
Sometimes there is the CORS issue (left), sometimes there is no CORS issue (right). Both screenshots were taken of the same page at different times. Seems to be flaky.
https://markbind-master.netlify.app/userguide/components/imagesanddiagrams#mermaid-diagrams
Expected behavior
Should work.
Anything else?
Seems to be quite a concerning regression actually, not sure why this is the case and why it was only spotted so late on by @IanCheah.
However, since it is a CORS issue, if we directly support offline loading (#2548) and bundle it together it should totally resolve the issue.