mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
add light syntax highlighting theme
This commit is contained in:
parent
d7ec9e7b0d
commit
dc2373e94c
@ -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);
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user