sjwall / mdx-mermaid

Plug and play Mermaid in MDX
MIT License
161 stars 29 forks source link

fix mermaid version #90

Closed paul-sachs closed 1 year ago

paul-sachs commented 1 year ago

Eliminate possible random errors caused by the most recent version of mermaid when it changes some output.

sorphwer commented 1 year ago

@paul-sachs I appreciate your work and I verifed that this PR does fix the issue #91 . This PR should be merged ASAP but the design of pulling mermaid from CDN is quite a bad idea that has to be fixed.

For everyone who is suffering from this issue, I suggest using patch-package to made corresponding code change and add "postinstall": "patch-package" to let CICD work well.