Installation:
Using PyPI and pip:
pip install pygments-style-railscasts
Manual installation:
git clone git://github.com/DrMegahertz/pygments-style-railscasts.git
cd pygments-style-railscasts
python setup.py install
Usage example:
>>> from pygments.formatters import HtmlFormatter
>>> HtmlFormatter(style='railscasts').style
<class 'pygments_style_railscasts.RailscastsStyle'>
Export the style as CSS:
pygmentize -S railscasts -f html > railscasts.css
Please read the official documentation for further information on the usage of pygment styles.