pygments-ansi-color
pygments-ansi-color copied to clipboard
Add `AnsiHtmlFormatter`
This change simplify the usage of the custom formatter a lot. To reflect this I extensively edited the README
and restructure it so pygments-ansi-color
is easier to approach.
At this point, ExtendedColorHtmlFormatterMixin
is just becoming an implementation detail. You no longer need it directly as the user only needs to interact with AnsiHtmlFormatter
. I took the liberty to add a deprecated message to its docstring.
I also:
- detailed the integration with Pygments and unit-tested it
- added the README as a package description to have it displayed on PyPi
- added trove classifiers to improve discoverability
- updated the list of external projects relying on
pygments-ansi-color
- points to ANSI-capable language lexers
- associates ANSI lexer to file extensions
Closes #33.