friendly-traceback · GitHub

Pygments compatible styles used with friendly.

Two styles are defined: one suitable for black (or very dark) background and another for white (or very pale) background.

These styles are defined in such a way that code highlighted by Rich use consistent colours whether the code is highlighted by Rich base on some repr bypassing Pygments or done by Pygments.

Example of highlighting

Releases

Packages

Used by

Contributors

Languages

Read the original on github.com ↗