Documentation
¶
Overview ¶
Package markdown provides a small builder for markdown text, including tables, and helpers for formatting values as markdown.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func String ¶
String returns v.String() if v implements fmt.Stringer, or "".
Types ¶
type Markdown ¶
type Markdown struct {
// contains filtered or unexported fields
}
Markdown accumulates markdown text in memory. The zero value is an empty document ready to use. It is not safe for concurrent use.
func (*Markdown) Print ¶
Print appends the operands formatted as by fmt.Sprint.
func (*Markdown) Printf ¶
Printf appends the operands formatted as by fmt.Sprintf, followed by a newline.
func (*Markdown) Println ¶
Println appends the operands formatted as by fmt.Sprintln.