mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-01 14:28:49 +01:00
🎨 Improve export preview https://github.com/siyuan-note/siyuan/issues/14050
This commit is contained in:
parent
33109175cc
commit
65aaede35b
1 changed files with 1 additions and 0 deletions
|
|
@ -587,6 +587,7 @@ func Preview(id string) (retStdHTML string) {
|
|||
tree = parse.Parse("", []byte(md), luteEngine.ParseOptions)
|
||||
// 使用实际主题样式值替换样式变量 Use real theme style value replace var in preview mode https://github.com/siyuan-note/siyuan/issues/11458
|
||||
fillThemeStyleVar(tree)
|
||||
luteEngine.RenderOptions.ProtyleMarkNetImg = false
|
||||
retStdHTML = luteEngine.ProtylePreview(tree, luteEngine.RenderOptions)
|
||||
|
||||
if footnotesDefBlock := tree.Root.ChildByType(ast.NodeFootnotesDefBlock); nil != footnotesDefBlock {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue