This tool is designed for beautiful text formatting in the terminal. It is highly specialized, prints in terminal highlighted text in more readable form. It also can render 'pretty' table and python's iterators syntax.
Styles |
---|
ansiblack |
bold |
italic |
underline |
Colors specified using ansi* are converted to a default set of RGB colors when used with formatters other than the terminal-256 formatter.
By definition of ANSI, the following colors are considered “light” colors, and will be rendered by most terminals as bold:
- “brightblack” (darkgrey), “brightred”, “brightgreen”, “brightyellow”, “brightblue”, “brightmagenta”, “brightcyan”, “white”
The following are considered “dark” colors and will be rendered as non-bold:
- “black”, “red”, “green”, “yellow”, “blue”, “magenta”, “cyan”, “gray”
Color names |
---|
ansiblack |
ansired |
ansigreen |
ansiyellow |
ansiblue |
ansimagenta |
ansibrightblack |
ansibrightred |
ansibrightgreen |
ansibrightyellow |
ansibrightblue |
ansibrightmagenta |
ansibrightcyan |
ansiwhite |