Skip to content

Commit 7a98f5a

Browse files
authored
Merge pull request #838 from kennygt51/docsaurs_mermaid
feat(website): add Mermaid diagram support to Docusaurus
2 parents 8aead55 + 2831ca6 commit 7a98f5a

File tree

3 files changed

+1369
-40
lines changed

3 files changed

+1369
-40
lines changed

website/docusaurus.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ const config: Config = {
2727
hooks: {
2828
onBrokenMarkdownLinks: "warn",
2929
},
30+
mermaid: true,
3031
},
32+
themes: ['@docusaurus/theme-mermaid'],
3133

3234
// Even if you don't use internationalization, you can use this field to set
3335
// useful metadata like html lang. For example, if your site is Chinese, you

0 commit comments

Comments
 (0)