Versions in this module Expand all Collapse all v3 v3.1.1 Jun 28, 2024 Changes in this version + var Fallback = NoOp + var JSON = Register("json", ...) + var NoOp = Register("noop", ...) + var Registry = map[string]chroma.Formatter + var SVG = Register("svg", ...) + var TTY = Register("terminal", &indexedTTYFormatter{ ... }) + var TTY16 = Register("terminal16", &indexedTTYFormatter{ ... }) + var TTY16m = Register("terminal16m", chroma.FormatterFunc(trueColourFormatter)) + var TTY256 = Register("terminal256", &indexedTTYFormatter{ ... }) + var TTY8 = Register("terminal8", &indexedTTYFormatter{ ... }) + var Tokens = Register("tokens", ...) + func Get(name string) chroma.Formatter + func Names() []string + func Register(name string, formatter chroma.Formatter) chroma.Formatter Other modules containing this package gitee.com/pidanpidan/chroma