Pygments syntax highlighting styles for dark and light backgrounds
Project description
Pygments syntax highlighting styles for dark and light backgrounds
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
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)
Built Distribution
pygll-0.1-py3-none-any.whl
(3.8 kB
view hashes)