Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ANSI ¶
type ANSI struct {
// contains filtered or unexported fields
}
ANSI is the terminal markdown renderer implementation.
type Config ¶
type Config struct {
Palette Palette
// Width is the caller-visible width before any wrap offset is applied.
Width int
// WrapOffset preserves legacy call-site behaviour where some renderers use a
// slightly smaller wrap width than the viewport width.
WrapOffset int
NormalizeTabs bool
NormalizeNewlines bool
TrimSpace bool
EnsureTrailingLine bool
}
Config controls how markdown is rendered for a specific caller.
Click to show internal directories.
Click to hide internal directories.