Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KindMention = gast.NewNodeKind("Mention")
KindMention is a NodeKind of the Mention node.
View Source
var Mention = mention{}
Functions ¶
func NewMentionHTMLRenderer ¶
func NewMentionHTMLRenderer(opts ...html.Option) renderer.NodeRenderer
func NewMentionParser ¶
func NewMentionParser() parser.InlineParser
Types ¶
type MentionNode ¶
type MentionNode struct { gast.BaseInline Who string }
func NewMentionNode ¶
func NewMentionNode(username string) *MentionNode
NewStrikethrough returns a new Mention node.
func (*MentionNode) Dump ¶
func (n *MentionNode) Dump(source []byte, level int)
Dump implements Node.Dump.
Click to show internal directories.
Click to hide internal directories.