remcohaszing / gatsby-remark-mermaid

Create mermaid graphs and diagrams in your markdown files.
ISC License
23 stars 8 forks source link

Upgrade remark-mermaidjs to latest v6.0.0 to support mermaid v11+ #21

Closed amamenko closed 1 month ago

amamenko commented 1 month ago

It appears that gatsby-remark-mermaid is locked into v10 of mermaid:

From the dependencies of gatsby-remark-mermaid's package.json:

"dependencies": { "remark-mermaidjs": "^5.0.0", ...

From the dependencies ofremark-mermaidjs's 5.0.0 package.json:

"dependencies": { ... "mermaid-isomorphic": "^2.0.0", ... }

Further looking into mermaid-isomorphic's 2.0.0 package.json:

"dependencies": { ... "mermaid": "^10.0.0", ... }

This is preventing the use of mermaid v11+ features such as architecture and packet.

Would appreciate bumping the remark-mermaidjs package used by gatsby-remark-mermaid to the latest version 6.0.0.

remcohaszing commented 1 month ago

I’ll get to it soon. mermaid-isomorphic 3.0.0 was just released.

amamenko commented 1 month ago

Awesome, thanks @remcohaszing!