kbd

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KindKbd = gast.NewNodeKind("Kbd")

Functions

func NewParser

func NewParser() parser.InlineParser

func NewRenderer

func NewRenderer() renderer.NodeRenderer

Types

type Extension

type Extension struct{}

func (*Extension) Extend

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

type Kbd

type Kbd struct {
	gast.BaseInline
	Keys string
	Size string // "sm" | "lg" | ""
	Wide bool
}

func (*Kbd) Dump

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

func (*Kbd) Kind

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

Jump to

Keyboard shortcuts

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