🎨 支持聚焦导出 图片/PDF/HTML/Word https://github.com/siyuan-note/siyuan/issues/6607

This commit is contained in:
Liang Ding 2023-02-15 15:30:03 +08:00
parent 67ca975cfa
commit 806a7d8fa9
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -374,6 +374,7 @@ func ExportMarkdownHTML(id, savePath string, docx, merge bool) (name, dom string
tree = parse.Parse("", []byte(""), luteEngine.ParseOptions)
tree.Root.FirstChild.InsertBefore(node)
}
tree.HPath = bt.HPath
if merge {
var mergeErr error
@ -492,6 +493,7 @@ func ExportHTML(id, savePath string, pdf, image, keepFold, merge bool) (name, do
tree = parse.Parse("", []byte(""), luteEngine.ParseOptions)
tree.Root.FirstChild.InsertBefore(node)
}
tree.HPath = bt.HPath
if merge {
var mergeErr error