mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-02 03:10:57 +08:00
🎨 Supports configuration of whether to export inline memos https://github.com/siyuan-note/siyuan/issues/14605
This commit is contained in:
parent
5ec0247a2d
commit
bbd75e6a36
@ -2229,6 +2229,7 @@ func exportTree(tree *parse.Tree, wysiwyg, keepFold, avHiddenCol bool,
|
||||
if n.IsTextMarkType("inline-memo") {
|
||||
text.Type = ast.NodeTextMark
|
||||
text.TextMarkType = "inline-memo"
|
||||
text.TextMarkTextContent = linkText
|
||||
text.TextMarkInlineMemoContent = n.TextMarkInlineMemoContent
|
||||
}
|
||||
n.InsertBefore(&ast.Node{Type: ast.NodeFootnotesRef, Tokens: []byte("^" + refFoot.refNum), FootnotesRefId: refFoot.refNum, FootnotesRefLabel: []byte("^" + refFoot.refNum)})
|
||||
|
Loading…
Reference in New Issue
Block a user