Skip to content

Commit

Permalink
docs: fix shiki config
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jul 25, 2024
1 parent b36bf40 commit f729cb3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export default defineUserConfig({
notationFocus: true,
notationHighlight: true,
notationWordHighlight: true,
whitespace: true,
})
: [],
cachePlugin(),
Expand Down
8 changes: 4 additions & 4 deletions docs/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,17 @@ export default defaultTheme({
prismjs: isProd
? false
: {
themes: {
light: 'one-light',
dark: 'one-dark',
},
lineNumbers: 10,
notationDiff: true,
notationErrorLevel: true,
notationFocus: true,
notationHighlight: true,
notationWordHighlight: true,
whitespace: true,
themes: {
light: 'one-light',
dark: 'one-dark',
},
},
},
}) as Theme

0 comments on commit f729cb3

Please sign in to comment.