项目:添加 mermaid 语法
This commit is contained in:
parent
35b3b3c7dd
commit
4732442cd8
@ -450,7 +450,14 @@ const config = {
|
||||
defaultLanguage: "markdown",
|
||||
additionalLanguages: ["java", "git","nginx","http"],
|
||||
},
|
||||
mermaid: {
|
||||
theme: {light: 'neutral', dark: 'forest'},
|
||||
},
|
||||
}),
|
||||
markdown: {
|
||||
mermaid: true,
|
||||
},
|
||||
themes: ['@docusaurus/theme-mermaid'],
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
|
1059
package-lock.json
generated
1059
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -16,6 +16,7 @@
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "^2.4.0",
|
||||
"@docusaurus/preset-classic": "^2.4.0",
|
||||
"@docusaurus/theme-mermaid": "^2.4.0",
|
||||
"@mdx-js/react": "^1.6.22",
|
||||
"clsx": "^1.2.1",
|
||||
"docusaurus-plugin-umami": "^2.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user