config: update markdownTimeline

This commit is contained in:
Oleg Shchavelev 2024-05-02 19:41:52 +03:00
parent 3296859fc3
commit dca89e0869

View File

@ -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);
}, },
}, },
}) })