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 export to Liandi https://github.com/siyuan-note/siyuan/issues/12338
Daniel283ca7da41db
diff --git a/kernel/model/export.go b/kernel/model/export.goindex d5c3f0d629..a94e4f2fa4 100644--- a/kernel/model/export.go+++ b/kernel/model/export.go@@ -1866,6 +1866,11 @@ func exportMarkdownContent0(tree *parse.Tree, cloudAssetsBase string, assetsDestif util.IsAssetLinkDest([]byte(href)) {n.TextMarkAHref = strings.ReplaceAll(href, " ", "_")}+ } else if ast.NodeIFrame == n.Type || ast.NodeAudio == n.Type || ast.NodeVideo == n.Type {+ dest := treenode.GetNodeSrcTokens(n)+ if util.IsAssetLinkDest([]byte(dest)) {+ setAssetsLinkDest(n, dest, strings.ReplaceAll(dest, " ", "_"))+ }}return ast.WalkContinue})