imagecompare

package
v1.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KindImageCompareBlock = gast.NewNodeKind("ImageCompareBlock")

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 ImageCompareBlock

type ImageCompareBlock struct {
	gast.BaseBlock
	Label     string
	BeforeSrc string
	BeforeAlt string
	AfterSrc  string
	AfterAlt  string
}

func (*ImageCompareBlock) Dump

func (n *ImageCompareBlock) Dump(source []byte, level int)

func (*ImageCompareBlock) HasImages

func (n *ImageCompareBlock) HasImages() bool

func (*ImageCompareBlock) Kind

func (n *ImageCompareBlock) Kind() gast.NodeKind

Jump to

Keyboard shortcuts

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