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: Clean code
Liang Dinge7f2fb9c9c98
diff --git a/kernel/model/export.go b/kernel/model/export.goindex f292126484..8a04d64025 100644--- a/kernel/model/export.go+++ b/kernel/model/export.go@@ -704,17 +704,6 @@ func AddPDFOutline(id, p string, merge bool) (err error) {}}- //if 4 == Conf.Export.BlockRefMode { // 块引转脚注- // var footnotesBms []*pdfcpu.Bookmark- // for _, bm := range footnotes {- // footnotesBms = append(footnotesBms, bm)- // }- // sort.Slice(footnotesBms, func(i, j int) bool { return footnotesBms[i].PageFrom < footnotesBms[j].PageFrom })- // for _, bm := range footnotesBms {- // topBms = append(topBms, bm)- // }- //}-outFile := inFile + ".tmp"err = api.AddBookmarksFile(inFile, outFile, topBms, nil)if nil != err {