Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KindLinkCardBlock = gast.NewNodeKind("LinkCardBlock")
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 LinkCardBlock ¶
type LinkCardBlock struct {
gast.BaseBlock
Title string
Href string
Description string
Icon string
Image string
NewTab *bool
}
func (*LinkCardBlock) Dump ¶
func (n *LinkCardBlock) Dump(source []byte, level int)
func (*LinkCardBlock) Kind ¶
func (n *LinkCardBlock) Kind() gast.NodeKind
Click to show internal directories.
Click to hide internal directories.