diff --git a/js/Renderer.ts b/js/Renderer.ts index 833bdc0..f598594 100644 --- a/js/Renderer.ts +++ b/js/Renderer.ts @@ -29,7 +29,8 @@ function loadKaTeX() { import('katex'), import('markdown-it-texmath'), ]).then(([katex, {default: texmath}]) => { - texmath.use(katex); + console.warn(katex); + texmath.use(katex.default); return texmath; }); }