mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 支持聚焦导出 图片/PDF/HTML/Word https://github.com/siyuan-note/siyuan/issues/6607
This commit is contained in:
parent
67ca975cfa
commit
806a7d8fa9
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue