doc

package
v0.0.0-...-5fadc42 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Heading

type Heading struct {
	Level int
	Text  string
}

Heading ...

func (*Heading) Content

func (n *Heading) Content() string

Content ...

func (*Heading) MarshalJSON

func (n *Heading) MarshalJSON() ([]byte, error)

MarshalJSON ...

type Item

type Item struct {
	Depth int
	Text  string
}

Item ...

func (*Item) Content

func (n *Item) Content() string

Content ...

func (*Item) MarshalJSON

func (n *Item) MarshalJSON() ([]byte, error)

MarshalJSON ...

type List

type List struct {
	Items []*Item
}

List ...

func (*List) Content

func (n *List) Content() string

Content ...

func (*List) MarshalJSON

func (n *List) MarshalJSON() ([]byte, error)

MarshalJSON ...

type MinimarkNode

type MinimarkNode interface {
	Content() string
}

MinimarkNode ...

type Paragraph

type Paragraph struct {
	Text string
}

Paragraph ...

func (*Paragraph) Content

func (n *Paragraph) Content() string

Content ...

func (*Paragraph) MarshalJSON

func (n *Paragraph) MarshalJSON() ([]byte, error)

MarshalJSON ...

Jump to

Keyboard shortcuts

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