module documentation

Formatter for IRC output

Unknown Field: copyright
Copyright 2006-2021 by the Pygments team, see AUTHORS.
Unknown Field: license
BSD, see LICENSE for details.
Constant IRC​_COLOR​_MAP Undocumented
Constant IRC​_COLORS Undocumented
Class ​IRCFormatter Format tokens with IRC color sequences
Function ircformat Undocumented
IRC_COLOR_MAP: dict[str, int] =

Undocumented

Value
{'white': 0,
 'black': 1,
 'blue': 2,
 'brightgreen': 3,
 'brightred': 4,
 'yellow': 5,
 'magenta': 6,
...
IRC_COLORS =

Undocumented

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

Undocumented