chore!: change shiki defaults

pull/2818/head
Divyansh Singh 1 year ago
parent f242140c47
commit 13343c91d9

@ -62,7 +62,7 @@ export const createMarkdownRenderer = async (
base = '/', base = '/',
logger: Pick<Logger, 'warn'> = console logger: Pick<Logger, 'warn'> = console
): Promise<MarkdownRenderer> => { ): Promise<MarkdownRenderer> => {
const theme = options.theme ?? 'material-theme-palenight' const theme = options.theme ?? { light: 'github-light', dark: 'github-dark' }
const hasSingleTheme = typeof theme === 'string' || 'name' in theme const hasSingleTheme = typeof theme === 'string' || 'name' in theme
const md = MarkdownIt({ const md = MarkdownIt({

Loading…
Cancel
Save