Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarkdownFormatter ¶ added in v1.7.11
func MarkdownFormatter(options ...Opt) *markdown
MarkdownFormatter returns a formatter which renders markdown documents. The style is chosen based on whether stdout is a terminal, and its background color.
Types ¶
type CellText ¶ added in v1.7.11
type CellText any
CellText is the value of a table cell, which is either a string or Markdown. Other values are formatted with fmt.Sprint.
type Markdown ¶ added in v1.7.11
type Markdown string
Markdown is text which is rendered as markdown, for example as a table cell