gallery

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2026 License: MIT Imports: 13 Imported by: 0

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() renderer.NodeRenderer

Types

type Extension

type Extension struct{}

func (*Extension) Extend

func (e *Extension) Extend(m goldmark.Markdown)

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

type GalleryImage struct {
	Src string
	Alt string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL