markdown

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Markdown

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

func New

func New() *Markdown

func (*Markdown) AddBlock

func (m *Markdown) AddBlock(line string)

func (*Markdown) AddHeader1

func (m *Markdown) AddHeader1(text string)

func (*Markdown) AddHeader2

func (m *Markdown) AddHeader2(text string)

func (*Markdown) AddLine

func (m *Markdown) AddLine(line string)

func (*Markdown) AddTableHeader

func (m *Markdown) AddTableHeader(entries []*TableEntry)

func (*Markdown) AddTableLine

func (m *Markdown) AddTableLine(entries []*TableEntry)

func (*Markdown) Build

func (m *Markdown) Build() []byte

type TableEntry

type TableEntry struct {
	Value string
	Width int
}

Jump to

Keyboard shortcuts

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