Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Pygment style plugin featuring Solarized.
Python
branch: develop

Update version informations

latest commit 9ac3c863e8
Shoji KUMAGAI authored

README.rst

Install

Using PyPI and pip

$ (sudo) pip install pygments-style-solarized

Manual

$ git clone git://github.com/shkumagai/pygments-style-solarized
$ cd pygments-style-solarized
$ (sudo) python setup.py install

Usage Sample

>>> from pygments.formatter import HtmlFormatter
>>> HtmlFormatter(style='solarizedlight').style
<class 'pygments_style_solarized.light.LightStyle'>
>>> HtmlFormatter(style='solarizeddark').style
<class 'pygments_style_solarized.light.DarkStyle'>

Export the style as CSS

pygmentize -S solarizedlight -f html > solarizedlight.css
Something went wrong with that request. Please try again.