feat(markdown): allows to use custom highlight

close #754
pull/857/head
Enzo Notario 3 years ago
parent 00fe8092d9
commit c1af3b0e53

@ -61,7 +61,7 @@ export const createMarkdownRenderer = async (
const md = MarkdownIt({
html: true,
linkify: true,
highlight: await highlight(options.theme),
highlight: options.highlight || (await highlight(options.theme)),
...options
}) as MarkdownRenderer

Loading…
Cancel
Save