shortcode

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: MIT Imports: 11 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KindShortCode = ast.NewNodeKind("ShortCode")

Functions

func ShortCode added in v0.26.0

func ShortCode(name string, shortcode ShortCodeFunc)

Types

type ShortCodeFunc added in v0.50.0

type ShortCodeFunc func(Markdown) template.HTML

type ShortCodeNode added in v0.50.0

type ShortCodeNode struct {
	ast.BaseBlock
	// contains filtered or unexported fields
}

func (*ShortCodeNode) Dump added in v0.50.0

func (s *ShortCodeNode) Dump(source []byte, level int)

func (*ShortCodeNode) Kind added in v0.50.0

func (h *ShortCodeNode) Kind() ast.NodeKind

Jump to

Keyboard shortcuts

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