Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KindLinkButtonBlock = gast.NewNodeKind("LinkButtonBlock")
Functions ¶
func NewParser ¶
func NewParser() parser.BlockParser
func NewRenderer ¶
func NewRenderer(blockedSchemes []string, lr *linkrender.Renderer) renderer.NodeRenderer
Types ¶
type Extension ¶
type Extension struct {
BlockedSchemes []string
LinkRenderer *linkrender.Renderer
}
type LinkButtonBlock ¶
type LinkButtonBlock struct {
gast.BaseBlock
Href string
Variant string
Icon string
IconPlacement string
Size string
Content string
ColonCount int
Block bool
Disabled bool
Center bool
NewTab *bool
// HasLabel records whether the opening tag carried an explicit label, so
// Continue knows to ignore body lines. It lives on the node because the
// parser instance is shared across blocks (and across pages rendered
// concurrently).
HasLabel bool
}
func (*LinkButtonBlock) Dump ¶
func (n *LinkButtonBlock) Dump(source []byte, level int)
func (*LinkButtonBlock) Kind ¶
func (n *LinkButtonBlock) Kind() gast.NodeKind
Click to show internal directories.
Click to hide internal directories.