This commit is contained in:
parent
761cde0af5
commit
939b128e51
2 changed files with 565 additions and 295 deletions
|
@ -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",
|
||||
|
|
858
app/stage/protyle/js/mermaid/mermaid.min.js
vendored
858
app/stage/protyle/js/mermaid/mermaid.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue