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:
-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;
});
}