Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_markdown.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2022-04-14 18:45:29 +0300
committerRobin Appelman <robin@icewind.nl>2022-04-14 18:45:34 +0300
commitefcabb0555aeb6b3bb30f55dc3dcc3f73fa3c06a (patch)
tree8bf0b619ca4238b7e8e171f14bc4e3f074267a90
parent000dfc09f19d9aabd0d0f332c45d3f75f260719c (diff)
fix katexv2.3.6
fixes #189
-rw-r--r--js/Renderer.ts3
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;
});
}