mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
🎨 Improve export preview https://github.com/siyuan-note/siyuan/issues/13857
This commit is contained in:
parent
9a77f05c43
commit
b81677bf4b
3 changed files with 12 additions and 7 deletions
|
|
@ -580,6 +580,7 @@ func Preview(id string) (retStdHTML string) {
|
|||
Conf.Export.BlockRefTextLeft, Conf.Export.BlockRefTextRight,
|
||||
Conf.Export.AddTitle, true, true, &map[string]*parse.Tree{})
|
||||
luteEngine := NewLute()
|
||||
EnableLuteInlineSyntax(luteEngine)
|
||||
luteEngine.SetFootnotes(true)
|
||||
addBlockIALNodes(tree, false)
|
||||
md := treenode.FormatNode(tree.Root, luteEngine)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue