Skip to content

Commit a823927

Browse files
committedFeb 4, 2025
add mermaid and update packages to 3.7.0
1 parent 173b0e9 commit a823927

File tree

3 files changed

+2011
-907
lines changed

3 files changed

+2011
-907
lines changed
 

‎docusaurus.config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ const config = {
2222
defaultLocale: 'en',
2323
locales: ['en'],
2424
},
25+
markdown: {
26+
mermaid: true,
27+
},
2528
plugins: [
2629
[require.resolve('@easyops-cn/docusaurus-search-local'),
2730
{
@@ -184,7 +187,7 @@ const config = {
184187
}),
185188
],
186189
],
187-
themes: ["@inkeep/docusaurus/chatButton"],
190+
themes: ['@inkeep/docusaurus/chatButton', '@docusaurus/theme-mermaid'],
188191

189192
themeConfig:
190193
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */

0 commit comments

Comments
 (0)