Documentation ¶
Index ¶
Constants ¶
View Source
const ( NoDithering = DitheringMode(iota) DitheringWithBlocks DitheringWithChars )
Variables ¶
This section is empty.
Functions ¶
func Extensions ¶
func Extensions() parser.Extensions
Extensions returns the bitmask of extensions supported by this renderer. The output of this function can be used to instantiate a new markdown parser using the `NewWithExtensions` function.
func NewRenderer ¶
/ NewRenderer creates a new instance of the console renderer
Types ¶
type DitheringMode ¶
type DitheringMode uint8
DitheringMode type is used for image scale dithering mode constants.
type Options ¶
type Options func(r *renderer)
func WithImageDithering ¶
func WithImageDithering(mode DitheringMode) Options
Dithering mode for ansimage Default is fine directly through a terminal DitheringWithBlocks is recommended if a terminal UI library is used
Click to show internal directories.
Click to hide internal directories.