mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-30 13:28:48 +01:00
This commit is contained in:
parent
64bea9c004
commit
aaedbb2a7f
5 changed files with 26 additions and 4 deletions
|
|
@ -1096,6 +1096,12 @@ func exportTree(tree *parse.Tree, wysiwyg, expandKaTexMacros bool) (ret *parse.T
|
|||
status := processFileAnnotationRef(refID, n)
|
||||
unlinks = append(unlinks, n)
|
||||
return status
|
||||
} else if n.IsTextMarkType("tag") {
|
||||
if !wysiwyg {
|
||||
n.Type = ast.NodeText
|
||||
n.Tokens = []byte(Conf.Export.TagOpenMarker + n.TextMarkTextContent + Conf.Export.TagCloseMarker)
|
||||
return ast.WalkContinue
|
||||
}
|
||||
}
|
||||
case ast.NodeFileAnnotationRef:
|
||||
refIDNode := n.ChildByType(ast.NodeFileAnnotationRefID)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue