The default value for the mermaid server is https://unpkg.com/mermaid/dist/mermaid.min.js. This URL resolves to https://unpkg.com/mermaid@10.0.0/dist/mermaid.min.js and does not exist. There is a https://unpkg.com/mermaid@9.0.0/dist/mermaid.min.js that exists (and works), but it seems like going forward mermaid is using a different format.
The following files exist for 10.0.0:
mermaid.core.mjs
mermaid.core.mjs.map
mermaid.d.ts
mermaid.esm.min.mjs
mermaid.esm.min.mjs.map
mermaid.esm.mjs
mermaid.esm.mjs.map
mermaid.spec.d.ts
I tried replacing the URL with the mermaid.esm.min.mjs but that did not work. I'm not a web developer so I'm not sure if it is as simple as replacing the URL with one that points to one of these files.
The default value for the mermaid server is
https://unpkg.com/mermaid/dist/mermaid.min.js. This URL resolves tohttps://unpkg.com/mermaid@10.0.0/dist/mermaid.min.jsand does not exist. There is ahttps://unpkg.com/mermaid@9.0.0/dist/mermaid.min.jsthat exists (and works), but it seems like going forward mermaid is using a different format.The following files exist for
10.0.0:mermaid.core.mjs
mermaid.core.mjs.map
mermaid.d.ts
mermaid.esm.min.mjs
mermaid.esm.min.mjs.map
mermaid.esm.mjs
mermaid.esm.mjs.map
mermaid.spec.d.ts
I tried replacing the URL with the
mermaid.esm.min.mjsbut that did not work. I'm not a web developer so I'm not sure if it is as simple as replacing the URL with one that points to one of these files.