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 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