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: Supports converting relative path hyperlinks into document block references after importing Markdown https://github.com/siyuan-note/siyuan/issues/13817#issuecomment-3523687650
Daniel3d3486e93ec4
diff --git a/kernel/model/import.go b/kernel/model/import.goindex 039a77999f..0b4983ffd8 100644--- a/kernel/model/import.go+++ b/kernel/model/import.go@@ -816,8 +816,8 @@ func ImportFromLocalPath(boxID, localPath string, toPath string) (err error) {return nil}- if !d.IsDir() && strings.Contains(filepath.ToSlash(currentPath), "/assets/") {- // assets 文件夹下的文件算作资源文件+ if !d.IsDir() && !strings.HasSuffix(currentPath, ".md") && !strings.HasSuffix(currentPath, ".markdown") {+ // 非 Markdown 文件作为资源文件处理 https://github.com/siyuan-note/siyuan/issues/13817existName := assetsDone[currentPath]var name stringif "" == existName {