Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/content/docs/zh-cn/guides/markdown-content.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,10 @@ export default defineConfig({
light: 'github-light',
dark: 'github-dark',
},
// 禁用默认配色
// https://shiki.style/guide/dual-themes#without-default-color
// (添加于 v4.12.0)
defaultColor: false,
// 添加自定义语言
// 注意:Shiki 内置了无数语言,包括 .astro!
// https://shiki.style/languages
Expand Down