module documentation

Format colored console output.

Unknown Field: copyright
Copyright 2006-2021 by the Pygments team, see AUTHORS.
Unknown Field: license
BSD, see LICENSE for details.
Variable codes Undocumented
Variable dark​_colors Undocumented
Variable esc Undocumented
Variable light​_colors Undocumented
Variable x Undocumented
Function ansiformat Format text with a color and/or some attributes:
Function colorize Undocumented
Function reset​_color Undocumented
codes: dict =

Undocumented

dark_colors: list[str] =

Undocumented

esc: str =

Undocumented

light_colors: list[str] =

Undocumented

x: int =

Undocumented

def ansiformat(attr, text):

Format text with a color and/or some attributes:

color       normal color
*color*     bold color
_color_     underlined color
+color+     blinking color
def colorize(color_key, text):

Undocumented

def reset_color():

Undocumented