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.
Metadata
Release files for pygments-style-github 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pygments-style-github-0.4.tar.gz | 3.8 kB | Without provenance | Details for pygments-style-github-0.4.tar.gz |
Release files / pygments-style-github-0.4.tar.gz
| Download URL | pygments-style-github-0.4.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0fcabd23147d54c86240f621678c53c998a7defaa0d276911c1f2def0a45f4a7
|
|
BLAKE2b-256 checksum How to use checksums |
cf95f130871036a201472ac7618ea1dcc251e6f033fe98cd5d7c0183aeed1f6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pygments-style-github 0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.