Enable rendering of math fenced code blocks (#219820)

Fixes #174731
This commit is contained in:
Matt Bierner
2024-07-11 11:53:56 -07:00
committed by GitHub
parent a6d87c9655
commit cef334b38c
4 changed files with 12 additions and 7 deletions

View File

@@ -51,7 +51,8 @@ export async function activate(ctx: RendererContext<void>) {
return md.use(katex, {
globalGroup: true,
enableBareBlocks: true,
macros
enableFencedBlocks: true,
macros,
});
});
}