From e93895e71f05481d133ca72b8a15f070299de9a4 Mon Sep 17 00:00:00 2001 From: YangFong Date: Sat, 7 Sep 2024 10:25:35 +0800 Subject: [PATCH] feat: add mathjax renderer (#385) * fix #376 * fix #384 --------- Co-authored-by: yanglbme --- index.html | 14 +- package-lock.json | 433 ++++++++---------- package.json | 2 - .../CodemirrorEditor/EditorHeader/index.vue | 6 - src/utils/MDKatex.d.ts | 7 + src/utils/MDKatex.js | 93 ++++ src/utils/renderer.ts | 12 +- 7 files changed, 296 insertions(+), 271 deletions(-) create mode 100644 src/utils/MDKatex.d.ts create mode 100644 src/utils/MDKatex.js diff --git a/index.html b/index.html index 33a66b4..5febbe5 100644 --- a/index.html +++ b/index.html @@ -22,13 +22,6 @@ crossorigin="anonymous" />