🎨 Improve exporting markdown block ref relative path https://github.com/siyuan-note/siyuan/issues/16042

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-10-11 18:10:12 +08:00
parent 3b914cc9d3
commit f87f22c2b8
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -2109,6 +2109,7 @@ func exportMarkdownContent0(id string, tree *parse.Tree, cloudAssetsBase string,
}
currentDocDir := path.Dir(tree.HPath)
currentDocDir = util.FilterFilePath(currentDocDir)
var unlinks []*ast.Node
ast.Walk(tree.Root, func(n *ast.Node, entering bool) ast.WalkStatus {