Skip to content

Commit a8c2196

Browse files
author
Dimitri POSTOLOV
authoredJul 20, 2024··
[v3] use dynamic import for loading mermaid (#2994)
* update mermaid * update mermaid * pnpm i * use stable version
1 parent 1699ab1 commit a8c2196

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed
 

‎.changeset/grumpy-apples-repair.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"nextra-theme-blog": patch
3+
"nextra-theme-docs": patch
4+
"nextra": patch
5+
---
6+
7+
use dynamic import for loading `mermaid`

‎packages/nextra/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
"@mdx-js/react": "^3.0.0",
123123
"@napi-rs/simple-git": "^0.1.9",
124124
"@shikijs/twoslash": "^1.0.0",
125-
"@theguild/remark-mermaid": "^0.0.5",
125+
"@theguild/remark-mermaid": "^0.0.7",
126126
"@theguild/remark-npm2yarn": "0.3.0",
127127
"better-react-mathjax": "^2.0.3",
128128
"clsx": "^2.0.0",

‎pnpm-lock.yaml

+7-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.