feat: support non standard katex (#324)

close #323
This commit is contained in:
Libin YANG 2024-08-16 12:41:40 +08:00 committed by GitHub
parent 8d12093ada
commit 9ca58d5f32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4097 additions and 2368 deletions

6460
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -26,7 +26,7 @@
"juice": "^8.0.0",
"katex": "^0.16.10",
"marked": "^4.0.18",
"marked-katex-extension": "^4.0.3",
"marked-katex-extension": "^5.1.0",
"minio": "7.0.33",
"node-fetch": "^3.2.10",
"pinia": "^2.1.6",

View File

@ -4,7 +4,8 @@ import markedKatex from "marked-katex-extension";
marked.use(markedKatex({
throwOnError: false,
output: `html`
output: `html`,
nonStandard: true,
}));
class WxRenderer {