css files created from pygment's built-in styles
Switch branches/tags
Nothing to show
Clone or download
richleland Merge pull request #14 from cs01/master
generate css with pygments 2.2.0, add makefile, update readme
Latest commit c39da1d Mar 30, 2017



Pygments, a Python-based code highlighting tool, comes with a set of builtin styles (not css files) for code highlighting. You have to generate a CSS file using the command line.

You can generate these yourself, but this git repository has already generated them for you.


These css files were generated using pygmentize on the command line like so::

pygmentize -S default -f html -a .highlight > default.css

You can remove or change the top-level class by removing or modifying -a .highlight in the makefile.

To regenerate them all with whichever pygments version you are using, run

git clone <this repo>
cd pygments-css
make cssfiles