Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A Collection of Custom Pygments Styles

Project Description

README

Pygments port of Github Color Scheme.

Install

Using PyPI and pip

$ (sudo) pip install pygments-style-extras

Manual

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

Usage example

>>> from pygments.formatters import HtmlFormatter
>>> HtmlFormatter(style='github').style
<class 'pygments_style_github.GithubStyle'>

Export the style as CSS

$ pygmentize -S [style] -f html -a .parent > [style].css

Available Styles

  • github
  • monokai_light
  • railscasts
  • and Many Nore on the way

Github Example

$ pygmentize -S github -f html -a .highlight > github.css

Output:

.highlight .hll { background-color: #ffffcc }
.highlight  { background: #ffffff; }
.highlight .c { color: #999988; font-style: italic } /* Comment */
...

Extra information

Pygments supported languages

Pygments at the moment supports over 150 different programming languages, template languages and other markup languages. To see an exhaustive list of the currently supported languages, use the command:

$ pygmentize -L lexers

Pygments styles avaible

To get a list of all available stylesheets, execute the following command on the command line:

$ pygmentize -L styles

Please read the official documentation for further information on the usage of pygment styles.

Release History

This version
History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
pygments-style-extras-0.0.3.linux-x86_64.tar.gz
(5.8 kB) Copy SHA256 Hash SHA256
Source None Oct 16, 2016
pygments_style_extras-0.0.3-py2.7.egg
(9.0 kB) Copy SHA256 Hash SHA256
Egg 2.7 Oct 16, 2016
pygments_style_extras-0.0.3-py2-none-any.whl
(7.4 kB) Copy SHA256 Hash SHA256
Wheel py2 Oct 16, 2016
pygments-style-extras-0.0.3.tar.gz
(4.3 kB) Copy SHA256 Hash SHA256
Source None Oct 16, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting