Skip to content

Commit

Permalink
update package to enable markdown Math Plugin
Browse files Browse the repository at this point in the history
update package to enable markdown Math Plugin
  • Loading branch information
shoumenchougou committed Jan 16, 2025
1 parent 640b88c commit 672edd6
Show file tree
Hide file tree
Showing 3 changed files with 3,436 additions and 1,932 deletions.
7 changes: 6 additions & 1 deletion docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { defaultTheme } from '@vuepress/theme-default'
import { defineUserConfig } from '@vuepress/cli'
import { searchPlugin } from '@vuepress/plugin-search'
import { markdownMathPlugin } from '@vuepress/plugin-markdown-math'
import { viteBundler } from '@vuepress/bundler-vite'

export default defineUserConfig({
theme: defaultTheme({
Expand Down Expand Up @@ -49,11 +51,14 @@ export default defineUserConfig({
}
]
}),

bundler: viteBundler(),
// Adding search
plugins: [
searchPlugin({
// options
}),
markdownMathPlugin({
// options
}),
]
})
Loading

0 comments on commit 672edd6

Please sign in to comment.