🎨 Improve exporting Markdown https://github.com/siyuan-note/siyuan/issues/13273
This commit is contained in:
parent
a7a4d85c77
commit
da1b97f70c
1 changed files with 1 additions and 0 deletions
|
@ -1984,6 +1984,7 @@ func exportMarkdownContent0(tree *parse.Tree, cloudAssetsBase string, assetsDest
|
|||
href += "#" + defID
|
||||
}
|
||||
}
|
||||
href = util.FilterFilePath(href)
|
||||
blockRefLink := &ast.Node{Type: ast.NodeTextMark, TextMarkType: "a", TextMarkTextContent: linkText, TextMarkAHref: href}
|
||||
blockRefLink.KramdownIAL = n.KramdownIAL
|
||||
n.InsertBefore(blockRefLink)
|
||||
|
|
Loading…
Add table
Reference in a new issue