Skip to content

Commit

Permalink
fix: mermaid (with update packages)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuevUwU committed Sep 21, 2024
1 parent 64f0b99 commit 4751c01
Show file tree
Hide file tree
Showing 3 changed files with 1,203 additions and 546 deletions.
4 changes: 4 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ const config = {
respectPrefersColorScheme: true,
},
}),
markdown: {
mermaid: true,
},
themes: ['@docusaurus/theme-mermaid'],
};

export default config;
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"dependencies": {
"@docusaurus/core": "^3.5.2",
"@docusaurus/preset-classic": "^3.5.2",
"@docusaurus/theme-mermaid": "^3.5.2",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
"prism-react-renderer": "^2.3.0",
Expand All @@ -40,5 +41,6 @@
},
"engines": {
"node": ">=18.0"
}
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
Loading

0 comments on commit 4751c01

Please sign in to comment.