Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-12-19 21:35:01 +08:00
parent dc08f63c19
commit 184ba32aa4
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -181,6 +181,15 @@ func nodeStaticContent(node *ast.Node, excludeTypes []string, includeTextMarkATi
buf.WriteByte(' ') buf.WriteByte(' ')
lastSpace = true lastSpace = true
} }
if ast.NodeCallout == n.Type {
buf.WriteString(n.CalloutType + " ")
if "" != n.CalloutIcon && 0 == n.CalloutIconType {
buf.WriteString(n.CalloutIcon + " ")
}
if "" != n.CalloutTitle {
buf.WriteString(n.CalloutTitle)
}
}
return ast.WalkContinue return ast.WalkContinue
} }