Skip to content

Commit

Permalink
🎨 Improve exporting Markdown #13273
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Nov 26, 2024
1 parent a7a4d85 commit da1b97f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/model/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit da1b97f

Please sign in to comment.