Merge pull request #4924 from raiman264/bug/4905_fix_code_block_unreadable_text

bug: #4905 change shiki theme to github-light
This commit is contained in:
Sidharth Vinod 2023-11-09 13:50:45 +05:30 committed by GitHub
commit 4286372a9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,10 @@ import { defineConfig, MarkdownOptions } from 'vitepress';
const allMarkdownTransformers: MarkdownOptions = {
// the shiki theme to highlight code blocks
theme: 'github-dark',
theme: {
light: 'github-light',
dark: 'github-dark',
},
config: async (md) => {
await MermaidExample(md);
},