Skip to content

Commit

Permalink
Install and enable mermaid markdown
Browse files Browse the repository at this point in the history
This will let us include flowcharts and other charts via Mermaid markdown in wiki pages.
  • Loading branch information
shakuzen committed Dec 31, 2024
1 parent 8a37412 commit 05ba36b
Show file tree
Hide file tree
Showing 3 changed files with 1,226 additions and 28 deletions.
5 changes: 5 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ const config: Config = {
locales: ['en'],
},

markdown: {
mermaid: true
},

presets: [
[
'classic',
Expand Down Expand Up @@ -71,6 +75,7 @@ const config: Config = {
indexBlog: false, // blog is disabled
} satisfies SearchPluginOptions,
],
'@docusaurus/theme-mermaid',
],

themeConfig:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@docusaurus/core": "3.6.3",
"@docusaurus/faster": "^3.6.3",
"@docusaurus/preset-classic": "3.6.3",
"@docusaurus/theme-mermaid": "^3.6.3",
"@easyops-cn/docusaurus-search-local": "^0.46.1",
"@mdx-js/react": "^3.1.0",
"clsx": "^2.1.1",
Expand Down
Loading

0 comments on commit 05ba36b

Please sign in to comment.