pygments-ansi-color icon indicating copy to clipboard operation
pygments-ansi-color copied to clipboard

Add `AnsiHtmlFormatter`

Open kdeldycke opened this issue 1 year ago • 2 comments

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.

kdeldycke avatar May 23 '23 11:05 kdeldycke