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.
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 Distributions
Built Distributions
File details
Details for the file pygments-style-extras-0.0.3.tar.gz
.
File metadata
- Download URL: pygments-style-extras-0.0.3.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f86ab7a17771ea9d153709c9b58088d8efc08300238f5253253da1a296781b10 |
|
MD5 | da3fb53ce8c0cfe7b36f933e60b79c0f |
|
BLAKE2b-256 | 4c2964f01cc5be0faed0ee6590564a064724fbac8b07872bbdff6ea875f1509a |
File details
Details for the file pygments-style-extras-0.0.3.linux-x86_64.tar.gz
.
File metadata
- Download URL: pygments-style-extras-0.0.3.linux-x86_64.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89f0716ce05a0a12cc83bc82b6596dd942c075432168b90ddc31fc1c602e1622 |
|
MD5 | d6becfbc9b122a3f2257a69ba4ed0701 |
|
BLAKE2b-256 | c963854a60219ee2da4f7d3e31c9f9ae7e658db7c41b36dbb38b98a04510acc2 |
File details
Details for the file pygments_style_extras-0.0.3-py2.7.egg
.
File metadata
- Download URL: pygments_style_extras-0.0.3-py2.7.egg
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3656a02838492e10e9c742a11c2253e44380b4d606d0e4658560c89934e78f4 |
|
MD5 | 0da068f44e99f419b228dbf12cfa6ce1 |
|
BLAKE2b-256 | f9261ade4e6c3f6efe05b309936b2127630c5ed13a9092db911f5281157913cf |
File details
Details for the file pygments_style_extras-0.0.3-py2-none-any.whl
.
File metadata
- Download URL: pygments_style_extras-0.0.3-py2-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4fbfa9ec5a3e69786098c2ee354805e40edfb7210d7bed969f943b090d763dd |
|
MD5 | f172d07ada4d7de4653f10f95d2635c8 |
|
BLAKE2b-256 | 0962a04bbd82b6c1624798b9be862eec902527458038148b5d80cb572dd11652 |