mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 17:40:13 +01:00
This commit is contained in:
parent
04184fc8bd
commit
5237d7f910
2 changed files with 1065 additions and 780 deletions
|
|
@ -14,7 +14,7 @@ export const mermaidRender = (element: Element, cdn = Constants.PROTYLE_CDN) =>
|
||||||
if (mermaidElements.length === 0) {
|
if (mermaidElements.length === 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
addScript(`${cdn}/js/mermaid/mermaid.min.js?v=10.9.1`, "protyleMermaidScript").then(() => {
|
addScript(`${cdn}/js/mermaid/mermaid.min.js?v=11.4.0`, "protyleMermaidScript").then(() => {
|
||||||
const config: any = {
|
const config: any = {
|
||||||
securityLevel: "loose", // 升级后无 https://github.com/siyuan-note/siyuan/issues/3587,可使用该选项
|
securityLevel: "loose", // 升级后无 https://github.com/siyuan-note/siyuan/issues/3587,可使用该选项
|
||||||
altFontFamily: "sans-serif",
|
altFontFamily: "sans-serif",
|
||||||
|
|
|
||||||
1851
app/stage/protyle/js/mermaid/mermaid.min.js
vendored
1851
app/stage/protyle/js/mermaid/mermaid.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue