mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🎨 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:
parent
3b914cc9d3
commit
f87f22c2b8
1 changed files with 1 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue