add light syntax highlighting theme

This commit is contained in:
Steph 2023-10-29 20:19:15 -07:00
parent d7ec9e7b0d
commit dc2373e94c

View File

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