Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPlugin

func NewPlugin(section *booklit.Section) booklit.Plugin

Types

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

func (Plugin) Define

func (plugin Plugin) Define(node ast.Node, content booklit.Content) booklit.Content

func (Plugin) DescribeFruit

func (plugin Plugin) DescribeFruit(
	name string,
	definition booklit.Content,
	tags ...string,
) (booklit.Content, error)

func (Plugin) Godoc

func (plugin Plugin) Godoc(ref string) booklit.Content

Source Files