mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 04:44:08 +01:00 
			
		
		
		
	add light syntax highlighting theme
This commit is contained in:
		@@ -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);
 | 
			
		||||
  },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user