config: update markdownTimeline
This commit is contained in:
parent
3296859fc3
commit
dca89e0869
@ -1,7 +1,7 @@
|
|||||||
import { defineConfigWithTheme } from 'vitepress'
|
import { defineConfigWithTheme } from 'vitepress'
|
||||||
import { nav, sidebar } from './data/navigations'
|
import { nav, sidebar } from './data/navigations'
|
||||||
|
|
||||||
import markdownimeline from "vitepress-markdown-timeline"
|
import markdownTimeline from "vitepress-markdown-timeline"
|
||||||
|
|
||||||
// https://vitepress.dev/reference/site-config
|
// https://vitepress.dev/reference/site-config
|
||||||
export default defineConfigWithTheme({
|
export default defineConfigWithTheme({
|
||||||
@ -204,7 +204,7 @@ export default defineConfigWithTheme({
|
|||||||
detailsLabel: 'DETAILS'
|
detailsLabel: 'DETAILS'
|
||||||
},
|
},
|
||||||
config: (md) => {
|
config: (md) => {
|
||||||
md.use(markdownimeline);
|
md.use(markdownTimeline);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user