Versions in this module Expand all Collapse all v0 v0.1.5 Jun 11, 2021 Changes in this version + const DitheringWithBlocks + const DitheringWithChars + const NoDithering + var Blue = color.New(color.FgBlue).Sprint + var BlueBgItalic = color.New(color.BgBlue, color.OpItalic).Sprint + var Green = color.New(color.FgGreen).Sprint + var GreenBold = color.New(color.FgGreen, color.Bold).Sprint + var HiGreen = color.New(color.FgLightGreen).Sprint + var Red = color.New(color.FgRed).Sprint + func Extensions() parser.Extensions + func NewRenderer(lineWidth int, leftPad int, opts ...Options) *renderer + func Render(source string, lineWidth int, leftPad int, opts ...Options) []byte + type CellAlign int + const CellAlignCenter + const CellAlignCopyHeader + const CellAlignLeft + const CellAlignRight + type DitheringMode uint8 + type LevelShadeFmt func(level int) ShadeFmt + type Options func(r *renderer) + func WithBlockquoteShades(shades []ShadeFmt) Options + func WithHeadingShades(shades []ShadeFmt) Options + func WithImageDithering(mode DitheringMode) Options + type ShadeFmt func(a ...interface{}) string