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: Improve parsing of YAML Front Matter when importing Markdown https://github.com/siyuan-note/siyuan/issues/12962 https://github.com/siyuan-note/siyuan/issues/13038
Danieldcc5cefa6401
diff --git a/kernel/model/import.go b/kernel/model/import.goindex d6009cb2d6..2b65d24261 100644--- a/kernel/model/import.go+++ b/kernel/model/import.go@@ -1181,6 +1181,8 @@ func reassignIDUpdated(tree *parse.Tree, rootID, updated string) {n.SetIALAttr("id", n.ID)if "" != updated {n.SetIALAttr("updated", updated)+ n.ID = updated + "-" + gulu.Rand.String(7)+ n.SetIALAttr("id", n.ID)} else {n.SetIALAttr("updated", util.TimeFromID(n.ID))}