Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Improve exporting to community https://github.com/siyuan-note/siyuan/issues/13792

Danielc53fa9fb2ca9
diff --git a/kernel/model/export.go b/kernel/model/export.go
index ec97a23898..6bfa335a49 100644
--- a/kernel/model/export.go
+++ b/kernel/model/export.go
@@ -269,7 +269,7 @@ func Export2Liandi(id string) (err error) {
title := path.Base(tree.HPath)
tags := tree.Root.IALAttr("tags")
content := exportMarkdownContent0(tree, util.GetCloudForumAssetsServer()+time.Now().Format("2006/01")+"/siyuan/"+Conf.GetUser().UserId+"/", true,
- ".md", 4, 1, 0,
+ ".md", 4, Conf.Export.BlockEmbedMode, Conf.Export.FileAnnotationRefMode,
"#", "#",
"", "",
false, nil, true, &map[string]*parse.Tree{})