module documentation

Formatter for terminal output with ANSI sequences.

Unknown Field: copyright
Copyright 2006-2021 by the Pygments team, see AUTHORS.
Unknown Field: license
BSD, see LICENSE for details.
Constant TERMINAL​_COLORS Undocumented
Class ​Terminal​Formatter Format tokens with ANSI color sequences, for output in a text console. Color sequences are terminated at newlines, so that paging the output works correctly.
TERMINAL_COLORS =

Undocumented

Value
{Token: ('', ''),
 Whitespace: ('gray', 'brightblack'),
 Comment: ('gray', 'brightblack'),
 Comment.Preproc: ('cyan', 'brightcyan'),
 Keyword: ('blue', 'brightblue'),
 Keyword.Type: ('cyan', 'brightcyan'),
 Operator.Word: ('magenta', 'brightmagenta'),
...