Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Mermaid 时序图增加序号 https://github.com/siyuan-note/siyuan/pull/6992

Liang Dingc827caba4835
diff --git a/app/src/protyle/markdown/mermaidRender.ts b/app/src/protyle/markdown/mermaidRender.ts
index 1cfe190713..0a2d94cb67 100644
--- a/app/src/protyle/markdown/mermaidRender.ts
+++ b/app/src/protyle/markdown/mermaidRender.ts
@@ -33,7 +33,7 @@ export const mermaidRender = (element: Element, cdn = Constants.PROTYLE_CDN) =>
diagramMarginX: 8,
diagramMarginY: 8,
boxMargin: 8,
- showSequenceNumbers: true // https://mermaid.js.org/syntax/sequenceDiagram.html#sequencenumbers
+ showSequenceNumbers: true // Mermaid 时序图增加序号 https://github.com/siyuan-note/siyuan/pull/6992 https://mermaid.js.org/syntax/sequenceDiagram.html#sequencenumbers
},
gantt: {
leftPadding: 75,