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 dailynote template rendering https://github.com/siyuan-note/siyuan/issues/13111
Daniele69ea30a4eea
diff --git a/kernel/model/box.go b/kernel/model/box.goindex 390f6935f9..dbb012dc4f 100644--- a/kernel/model/box.go+++ b/kernel/model/box.go@@ -497,6 +497,8 @@ func parseKTree(kramdown []byte) (ret *parse.Tree) {func normalizeTree(tree *parse.Tree) (yfmRootID, yfmTitle, yfmUpdated string) {if nil == tree.Root.FirstChild {tree.Root.AppendChild(treenode.NewParagraph(""))+ } else if !tree.Root.FirstChild.IsBlock() || ast.NodeKramdownBlockIAL == tree.Root.FirstChild.Type {+ tree.Root.PrependChild(treenode.NewParagraph(""))}var unlinks []*ast.Node