Skip to main content

Pygments syntax highlighting styles for dark and light backgrounds

Project description

Pygments syntax highlighting styles for dark and light backgrounds

https://raw.githubusercontent.com/LivingLogic/LivingLogic.Python.PygLL/master/PygLL.png

Installation

Install with:

$ pip install pygll

After installation, two new Pygments styles are available:

Python class Plugin name
pygll.LivingLogicLightStyle livinglogic-light
pygll.LivingLogicDarkStyle livinglogic-dark

Usage with Sphinx

If you want to use this Pygments style with Sphinx put the following in your conf.py:

pygments_style = 'livinglogic-light'

Whether and how you can specify both styles to let the browser automatically switch them depending on the current OS color scheme depends on the HTML theme you’re using.

History

0.1 (2021-07-23)

Initial release.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

pygll-0.1.tar.gz (4.0 kB view hashes)

Uploaded source

Built Distribution

pygll-0.1-py3-none-any.whl (3.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page