This commit is contained in:
Daniel 2025-02-07 12:00:11 +08:00
parent 9a77f05c43
commit b81677bf4b
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 12 additions and 7 deletions

View file

@ -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)