badge

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KindBadge = gast.NewNodeKind("Badge")

Functions

func NewParser

func NewParser() parser.BlockParser

func NewRenderer

func NewRenderer() renderer.NodeRenderer

Types

type Badge

type Badge struct {
	gast.BaseBlock
	BadgeType string
	Content   string
	Icon      string
	Style     string
	Size      string
	NoIcon    bool
}

func (*Badge) Dump

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

func (*Badge) Kind

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

type Extension

type Extension struct{}

func (*Extension) Extend

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

Jump to

Keyboard shortcuts

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