An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Follow editor Markdown syntax settings when importing Markdown https://github.com/siyuan-note/siyuan/issues/14731
Daniel2f6c7fa886b7
diff --git a/kernel/util/lute.go b/kernel/util/lute.goindex 4be4a4a9a4..4c38e1a1df 100644--- a/kernel/util/lute.go+++ b/kernel/util/lute.go@@ -97,13 +97,16 @@ func NewStdLute() (ret *lute.Lute) {ret.SetGFMAutoLink(false) // 导入 Markdown 时不自动转换超链接 https://github.com/siyuan-note/siyuan/issues/7682ret.SetImgPathAllowSpace(true)ret.SetInlineMathAllowDigitAfterOpenMarker(true) // Formula parsing supports $ followed by numbers when importing Markdown https://github.com/siyuan-note/siyuan/issues/8362- ret.SetInlineAsterisk(true)- ret.SetInlineUnderscore(true)- ret.SetSup(true)- ret.SetSub(true)- ret.SetTag(true)- ret.SetInlineMath(true)- ret.SetGFMStrikethrough(true)++ // 导入 Markdown 时遵循编辑器 Markdown 语法设置+ // Follow editor Markdown syntax settings when importing Markdown https://github.com/siyuan-note/siyuan/issues/14731+ ret.SetInlineAsterisk(MarkdownSettings.InlineAsterisk)+ ret.SetInlineUnderscore(MarkdownSettings.InlineUnderscore)+ ret.SetSup(MarkdownSettings.InlineSup)+ ret.SetSub(MarkdownSettings.InlineSub)+ ret.SetTag(MarkdownSettings.InlineTag)+ ret.SetInlineMath(MarkdownSettings.InlineMath)+ ret.SetGFMStrikethrough(MarkdownSettings.InlineStrikethrough)ret.SetGFMStrikethrough1(false)return}