Skip to main content

Pygments styles designed for friendly/friendly-traceback

Project description

# friendly_styles

Pygments compatible styles used with [friendly](https://github.com/friendly-traceback/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](https://github.com/willmcgugan/rich) use consistent colours whether the code is highlighted by Rich base on some repr bypassing Pygments or done by Pygments.

![Example of highlighting](example.png)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

friendly_styles-0.2.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

friendly_styles-0.2-py3-none-any.whl (7.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page