🎨 Improve export preview mode https://github.com/siyuan-note/siyuan/issues/11372
This commit is contained in:
parent
eb909e5b8e
commit
e35729c3a8
1 changed files with 1 additions and 0 deletions
|
@ -545,6 +545,7 @@ func Preview(id string) (retStdHTML string, retOutline []*Path) {
|
|||
Conf.Export.AddTitle)
|
||||
luteEngine := NewLute()
|
||||
luteEngine.SetFootnotes(true)
|
||||
addBlockIALNodes(tree, false)
|
||||
md := treenode.FormatNode(tree.Root, luteEngine)
|
||||
tree = parse.Parse("", []byte(md), luteEngine.ParseOptions)
|
||||
retStdHTML = luteEngine.ProtylePreview(tree, luteEngine.RenderOptions)
|
||||
|
|
Loading…
Add table
Reference in a new issue