Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 authored and tom2319273 committed Aug 3, 2024
1 parent 3efbda6 commit 7c456dd
Show file tree
Hide file tree
Showing 2 changed files with 578 additions and 308 deletions.
2 changes: 1 addition & 1 deletion app/src/protyle/render/mermaidRender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
884 changes: 577 additions & 307 deletions app/stage/protyle/js/mermaid/mermaid.min.js

Large diffs are not rendered by default.

0 comments on commit 7c456dd

Please sign in to comment.