Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KindGalleryBlock = gast.NewNodeKind("GalleryBlock")
Functions ¶
func NewParser ¶
func NewParser() parser.BlockParser
func NewRenderer ¶
func NewRenderer(assetURL func(string) string) renderer.NodeRenderer
NewRenderer returns the gallery renderer. assetURL resolves site-absolute image paths; nil leaves them as written.
Types ¶
type Extension ¶
type GalleryBlock ¶
type GalleryBlock struct {
gast.BaseBlock
Label string
Images []GalleryImage
}
func (*GalleryBlock) Dump ¶
func (n *GalleryBlock) Dump(source []byte, level int)
func (*GalleryBlock) Kind ¶
func (n *GalleryBlock) Kind() gast.NodeKind
type GalleryImage ¶
Click to show internal directories.
Click to hide internal directories.