Skip to content

Commit

Permalink
Merge pull request #4924 from raiman264/bug/4905_fix_code_block_unrea…
Browse files Browse the repository at this point in the history
…dable_text

bug: #4905 change shiki theme to github-light
  • Loading branch information
sidharthv96 committed Nov 9, 2023
2 parents f487dcd + 0075538 commit 4286372
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/mermaid/src/docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
Expand Down

0 comments on commit 4286372

Please sign in to comment.