升级:将 VitePress 版本升级为 v1.0.0-alpha.43(本次升级版本跨度大,调整内容也较多,包括:支持配置在大纲中隐藏 Badge 文本,VitePress 默认主题全局风格优化等)

This commit is contained in:
2023-01-30 19:56:20 +08:00
parent 75090ce89e
commit 612dde9bfa
6 changed files with 881 additions and 80 deletions

View File

@@ -3,8 +3,8 @@ import type { MarkdownOptions } from 'vitepress'
export const markdown: MarkdownOptions = {
// Shiki主题, 所有主题参见: https://github.com/shikijs/shiki/blob/main/docs/themes.md
theme: {
light: 'material-palenight',
dark: 'one-dark-pro'
light: 'one-dark-pro',
dark: 'material-theme-palenight'
},
// lineNumbers: true, // 启用行号