Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Pygments lexer for Ruby + RSpec

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 pygments_rspec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 MANIFEST.in
Octocat-spinner-32 README.rst
Octocat-spinner-32 setup.py
README.rst

Pygments RSpec

This is an extension of Ruby lexer that just add some keywords used on RSpec, including some keywords used with Capybara too.

Install

Using PyPI and pip

$ (sudo) pip install pygments-rspec

Manual

$ git clone git://github.com/hugomaiavieira/pygments-rspec.git
$ cd pygments-rspec
$ (sudo) python setup.py install

Using

Just use the rspec "language".

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.

Something went wrong with that request. Please try again.