mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 Support for inserting custom blocks https://github.com/siyuan-note/siyuan/issues/8418
This commit is contained in:
parent
156fc97c54
commit
6950bbaf6d
3 changed files with 6 additions and 7 deletions
|
|
@ -78,7 +78,7 @@ func renderOutline(heading *ast.Node, luteEngine *lute.Lute) (ret string) {
|
|||
case ast.NodeBackslashContent:
|
||||
buf.Write(n.Tokens)
|
||||
case ast.NodeTextMark:
|
||||
dom := lute.RenderNodeBlockDOM(n, luteEngine.ParseOptions, luteEngine.RenderOptions)
|
||||
dom := luteEngine.RenderNodeBlockDOM(n)
|
||||
buf.WriteString(dom)
|
||||
return ast.WalkSkipChildren
|
||||
case ast.NodeImage:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue