Skip to content

Commit

Permalink
Merge pull request #25 from ivy-rew/mermaid106
Browse files Browse the repository at this point in the history
upgrade mermaid to 10.6.1
  • Loading branch information
jacobwhall authored Jan 3, 2024
2 parents 7a27a81 + 2b9803c commit 3c61087
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"joplin-turndown-plugin-gfm": "^1.0.12",
"katex": "^0.15.3",
"keytar": "^7.9.0",
"mermaid": "^9.2.2",
"mermaid": "^10.6.1",
"minizlib": "^2.1.2",
"native-keymap": "^3.3.0",
"plist": "^3.0.4",
Expand Down
2 changes: 1 addition & 1 deletion src/muya/lib/renderers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const loadRenderer = async (name) => {
rendererCache.set(name, m.default)
break
case 'mermaid':
m = await import('mermaid/dist/mermaid.min.js')
m = await import('mermaid/dist/mermaid.core.mjs')
rendererCache.set(name, m.default)
break
case 'vega-lite':
Expand Down

0 comments on commit 3c61087

Please sign in to comment.