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:
guqing
2024-10-31 13:28:51 +08:00
committed by GitHub
parent eac3f93313
commit 0b1d4596d5
3 changed files with 781 additions and 0 deletions

View File

@@ -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: [
[