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

This commit is contained in:
Liang Ding 2022-08-27 21:46:32 +08:00
parent 60d948606d
commit d510a74aab
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 6 additions and 0 deletions

View file

@ -87,6 +87,10 @@ func setEditor(c *gin.Context) {
editor.PlantUMLServePath = "https://www.plantuml.com/plantuml/svg/~1"
}
if "" == editor.KaTexMacros {
editor.KaTexMacros = "{}"
}
model.Conf.Editor = editor
model.Conf.Save()