Skip to content

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

:art: 数学公式支持设置全局宏定义 https://github.com/siyuan-note/siyuan/issues/5682

Liang Ding0959994e73e6
diff --git a/kernel/conf/editor.go b/kernel/conf/editor.go
index 461a78ff94..383a515dd8 100644
--- a/kernel/conf/editor.go
+++ b/kernel/conf/editor.go
@@ -33,7 +33,7 @@ type Editor struct {
BlockRefDynamicAnchorTextMaxLen int `json:"blockRefDynamicAnchorTextMaxLen"` // 块引动态锚文本最大长度
PlantUMLServePath string `json:"plantUMLServePath"` // PlantUML 伺服地址
FullWidth bool `json:"fullWidth"` // 是否使用最大宽度
- KaTexMacros string `json:"kaTexMacros"` // KeTex 宏定义
+ KaTexMacros string `json:"katexMacros"` // KeTex 宏定义
}
func NewEditor() *Editor {