Filters for processing ANSI colors within Jinja templates.
Remove ansi from text
Parameters: | source : str
|
---|
Conver ansi colors to html colors.
Parameters: | text : str
|
---|
Converts single ansi markup to latex format
Return latex code and number of open brackets.
Converts ansi formated text to latex version
based on https://bitbucket.org/birkenfeld/sphinx-contrib/ansi.py