kbd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2026 License: MIT Imports: 9 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 // raw key string e.g. "Ctrl+S"
}

Kbd is an inline node for [[Ctrl+S]] keyboard shortcuts.

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