package formatters

Import Path
	github.com/alecthomas/chroma/v2/formatters (on go.dev)

Dependency Relation
	imports 8 packages, and imported by one package


Package-Level Functions (total 3)
Get formatter by name. If the given formatter is not found, the Fallback formatter will be returned.
Names of registered formatters.
Register a named formatter.
Package-Level Variables (total 11)
Fallback formatter.
JSON formatter outputs the raw token structures as JSON.
NoOp formatter.
Registry of Formatters.
Tokens formatter outputs the raw token structures.
TTY is an 8-colour terminal formatter. The Lab colour space is used to map RGB values to the most appropriate index colour.
TTY16 is a 16-colour terminal formatter. It uses \033[3xm for normal colours and \033[90Xm for bright colours. The Lab colour space is used to map RGB values to the most appropriate index colour.
TTY16m is a true-colour terminal formatter.
TTY256 is a 256-colour terminal formatter. The Lab colour space is used to map RGB values to the most appropriate index colour.
TTY8 is an 8-colour terminal formatter. The Lab colour space is used to map RGB values to the most appropriate index colour.