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: Support exporting Markdown after selecting multiple documents https://github.com/siyuan-note/siyuan/issues/12912
Daniel0e1fe2f20f55
diff --git a/kernel/model/export.go b/kernel/model/export.goindex c47ed24461..d7ae9c00d1 100644--- a/kernel/model/export.go+++ b/kernel/model/export.go@@ -1389,10 +1389,11 @@ func BatchExportPandocConvertZip(ids []string, pandocTo, ext string) (name, zipPif "." == baseFolderName {baseFolderName = path.Base(block.Path)}- var docPaths []string+ var docPaths []stringbts := treenode.GetBlockTrees(ids)for _, bt := range bts {+ docPaths = append(docPaths, bt.Path)docFiles := box.ListFiles(strings.TrimSuffix(bt.Path, ".sy"))for _, docFile := range docFiles {docPaths = append(docPaths, docFile.path)