mirror of
https://github.com/halo-dev/docs.git
synced 2025-10-20 09:38:36 +00:00
feat: diagrams can be rendered using Mermaid in a code block (#458)
### What this PR does? 添加对 Mermaid Diagrams 的支持 ```release-note None ```
This commit is contained in:
@@ -15,6 +15,10 @@ const config = {
|
||||
},
|
||||
organizationName: "halo-dev", // Usually your GitHub org/user name.
|
||||
projectName: "halo", // Usually your repo name.
|
||||
markdown: {
|
||||
mermaid: true,
|
||||
},
|
||||
themes: ['@docusaurus/theme-mermaid'],
|
||||
|
||||
presets: [
|
||||
[
|
||||
|
@@ -33,6 +33,7 @@
|
||||
"@docusaurus/preset-classic": "3.4.0",
|
||||
"@docusaurus/theme-classic": "3.4.0",
|
||||
"@docusaurus/theme-common": "3.4.0",
|
||||
"@docusaurus/theme-mermaid": "3.4.0",
|
||||
"@mdx-js/react": "^3.0.0",
|
||||
"@svgr/webpack": "^5.5.0",
|
||||
"clsx": "^1.2.1",
|
||||
|
776
pnpm-lock.yaml
generated
776
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user