We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00fe809 commit ddf876dCopy full SHA for ddf876d
src/node/markdown/markdown.ts
@@ -61,7 +61,7 @@ export const createMarkdownRenderer = async (
61
const md = MarkdownIt({
62
html: true,
63
linkify: true,
64
- highlight: await highlight(options.theme),
+ highlight: options.highlight || (await highlight(options.theme)),
65
...options
66
}) as MarkdownRenderer
67
0 commit comments