File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { defineConfig } from 'vitepress' ;
2- import { withMermaid } from 'vitepress-plugin-mermaid' ;
32import { generateIndex } from '../utils/posts-loader.mjs' ;
43// https://vitepress.dev/reference/site-config
54
6- export default withMermaid ( defineConfig ( {
5+ export default defineConfig ( {
76 title : "Trudbot's Blog" ,
87 description : "trudbot的博客" ,
98 head : [
@@ -67,16 +66,8 @@ export default withMermaid(defineConfig({
6766 ]
6867 }
6968 } ,
70- // optionally, you can pass MermaidConfig
71- mermaid : {
72- // refer https://mermaid.js.org/config/setup/modules/mermaidAPI.html#mermaidapi-configuration-defaults for options
73- } ,
74- // optionally set additional config for plugin itself with MermaidPluginConfig
75- mermaidPlugin : {
76- class : "mermaid trudbot-mermaid" , // set additional css classes for parent container
77- } ,
7869
7970 sitemap : {
8071 hostname : 'https://trudbot.cn'
8172 } ,
82- } ) ) ;
73+ } ) ;
You can’t perform that action at this time.
0 commit comments