Browse Source

:arrow_up: https://github.com/siyuan-note/siyuan/issues/11645

Vanessa 1 year ago
parent
commit
939b128e51

+ 1 - 1
app/src/protyle/render/mermaidRender.ts

@@ -14,7 +14,7 @@ export const mermaidRender = (element: Element, cdn = Constants.PROTYLE_CDN) =>
     if (mermaidElements.length === 0) {
         return;
     }
-    addScript(`${cdn}/js/mermaid/mermaid.min.js?v=10.8.0`, "protyleMermaidScript").then(() => {
+    addScript(`${cdn}/js/mermaid/mermaid.min.js?v=10.9.1`, "protyleMermaidScript").then(() => {
         const config: any = {
             securityLevel: "loose", // 升级后无 https://github.com/siyuan-note/siyuan/issues/3587,可使用该选项
             altFontFamily: "sans-serif",

File diff suppressed because it is too large
+ 0 - 5
app/stage/protyle/js/mermaid/mermaid.min.js


Some files were not shown because too many files changed in this diff