Skip to content

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

:bug: fix https://github.com/siyuan-note/siyuan/issues/5797

Vanessa3c48278df08b
diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts
index e9b8a05131..626ccd2b02 100644
--- a/app/src/protyle/export/index.ts
+++ b/app/src/protyle/export/index.ts
@@ -321,6 +321,7 @@ pre code {
codeLigatures: ${window.siyuan.config.editor.codeLigatures},
plantUMLServePath: "${window.siyuan.config.editor.plantUMLServePath}",
codeSyntaxHighlightLineNum: ${window.siyuan.config.editor.codeSyntaxHighlightLineNum},
+ katexMacros: JSON.stringify(${window.siyuan.config.editor.katexMacros}),
}
},
languages: {copy:"${window.siyuan.languages.copy}"}