A dump of all the CSS styles included with Pygments.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md Fixed a typo. Jan 31, 2012
autumn.css Updated to Pygments 1.6. Apr 8, 2013
borland.css Initial commit. Jan 31, 2012
bw.css
colorful.css Updated to Pygments 1.6. Apr 8, 2013
default.css Updated to Pygments 1.6. Apr 8, 2013
emacs.css Updated to Pygments 1.6. Apr 8, 2013
friendly.css Updated to Pygments 1.6. Apr 8, 2013
fruity.css Initial commit. Jan 31, 2012
manni.css Initial commit. Jan 31, 2012
monokai.css Initial commit. Jan 31, 2012
murphy.css Updated to Pygments 1.6. Apr 8, 2013
native.css Initial commit. Jan 31, 2012
pastie.css
perldoc.css Initial commit. Jan 31, 2012
rrt.css Updated to Pygments 1.6. Apr 8, 2013
tango.css Initial commit. Jan 31, 2012
trac.css Initial commit. Jan 31, 2012
vim.css
vs.css Initial commit. Jan 31, 2012

README.md

pygments-styles-dump

This is simply a dump of all the CSS styles included with Pygments.

The following script was used to generate the contents of this repo.

#!/usr/bin/env python
# -*- coding: utf-8 -*-

from __future__ import unicode_literals

from codecs import open
from os import getcwd, path

from pygments.formatters import HtmlFormatter
from pygments.styles import get_all_styles


cwd = getcwd()

for style in get_all_styles():
    with open(path.join(cwd, style + '.css'), 'w', encoding = 'utf-8') as f:
        f.write(HtmlFormatter(style = style).get_style_defs('.highlight') + '\n')