Markdown

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	STYLE_CENTER = iota
	STYLE_LEFT
	STYLE_RIGHT
)

Variables

View Source
var (
	Pedantic bool = true
)

Functions

This section is empty.

Types

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

func NewHeader

func NewHeader(text string, style int) Header

type Table

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

func NewTable

func NewTable() Table

func NewTableWithHeaders

func NewTableWithHeaders(headers ...Header) Table

func (*Table) AddRow

func (t *Table) AddRow(elements []string) error

func (*Table) AppendHeader

func (t *Table) AppendHeader(header Header)

func (Table) ToText

func (t Table) ToText() []string

Jump to

Keyboard shortcuts

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