Skip to content
css files created from pygment's built-in styles
CSS Makefile
Branch: master
Clone or download

Latest commit

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

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md update readme Mar 29, 2017
UNLICENSE.txt unlicense, fixes #5 Mar 22, 2014
autumn.css add .highlight class Mar 29, 2017
borland.css add .highlight class Mar 29, 2017
bw.css add .highlight class Mar 29, 2017
colorful.css add .highlight class Mar 29, 2017
default.css add .highlight class Mar 29, 2017
emacs.css add .highlight class Mar 29, 2017
friendly.css add .highlight class Mar 29, 2017
fruity.css add .highlight class Mar 29, 2017
makefile add .highlight class Mar 29, 2017
manni.css add .highlight class Mar 29, 2017
monokai.css add .highlight class Mar 29, 2017
murphy.css add .highlight class Mar 29, 2017
native.css add .highlight class Mar 29, 2017
package.json Add package json Oct 8, 2015
pastie.css add .highlight class Mar 29, 2017
perldoc.css add .highlight class Mar 29, 2017
requirements.txt add makefile and update readme Mar 12, 2017
tango.css add .highlight class Mar 29, 2017
trac.css add .highlight class Mar 29, 2017
vim.css add .highlight class Mar 29, 2017
vs.css add .highlight class Mar 29, 2017

README.md

pygments-css

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.

build

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
You can’t perform that action at this time.