module documentation

pygments.formatters.irc ~~~~~~~~~~~~~~~~~~~~~~~ Formatter for IRC output :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details.

Class IRCFormatter Format tokens with IRC color sequences
Function ircformat Undocumented
Constant IRC_COLOR_MAP Undocumented
Constant IRC_COLORS Undocumented
def ircformat(color, text): (source)

Undocumented

IRC_COLOR_MAP: dict[str, int] = (source)

Undocumented

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

Undocumented

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