diff options
author | Robin Appelman <robin@icewind.nl> | 2022-04-14 18:45:29 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2022-04-14 18:45:34 +0300 |
commit | efcabb0555aeb6b3bb30f55dc3dcc3f73fa3c06a (patch) | |
tree | 8bf0b619ca4238b7e8e171f14bc4e3f074267a90 | |
parent | 000dfc09f19d9aabd0d0f332c45d3f75f260719c (diff) |
fix katexv2.3.6
fixes #189
-rw-r--r-- | js/Renderer.ts | 3 |
1 files changed, 2 insertions, 1 deletions
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; }); } |