Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install pygments-style-github

How to install pygments-style-github

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install pygments-style-github
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.4 Available View build log
0.4 Available View build log
Windows (64-bit)
0.4 Available View build log
0.4 Available View build log
Mac OS X (10.5+)
0.4 Available View build log
0.4 Available View build log
Linux (32-bit)
0.4 Available View build log
0.4 Available View build log
Linux (64-bit)
0.4 Available View build log
0.4 Available View build log
0.4 Available View build log
 
License
BSD
Dependencies
Lastest release
version 0.4 on Jan 26th, 2012

Install

Using PyPI and pip
$ (sudo) pip install pygments-style-github
Manual
$ git clone git://github.com/hugomaiavieira/pygments-style-github.git
$ cd pygments-style-github
$ (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 github -f html > github.css

Using in LaTeX documents

See the minted package at http://minted.googlecode.com

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.

Thanks

This package is based upon the pygments-style-railscasts of Marcus Fredriksson.

Subscribe to package updates

Last updated Jan 26th, 2012

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.