Skip to content
Pygments lexer for Gherkin http://benmabey.com/cucumber_on_github.html
Python Ruby
Find file
Pull request Compare This branch is 30 commits ahead of bmabey:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
gherkin_lexer
tmp
.c9settings.xml
.gitignore
.rvmrc
Gemfile
MIT-LICENSE.txt
README.textile
Rakefile
gherkin-black-pygments.css
gherkin-white-pygments.css
lexer.erb.py
sample.feature
setup.py

README.textile

Gherkin Syntax Lexer for Pygments

TEST

This is a pygments lexer for Gherkin- the language that Cucumber knows.

Installing

The lexer is part of the Pygments codebase. Pygments gets updated when there are major changes in this repo,
for example when a new translation is added to Gherkin.

Cheat sheet for Aslak:

hg clone https://aslakhellesoy@bitbucket.org/aslakhellesoy/pygments-main cd pygments-main hg pull https://aslakhellesoy@bitbucket.org/birkenfeld/pygments-main hg update

Making Pretty Cucumber features

pygmentize foo.feature

Hacking

Edit lexer.erb.py, then run rake

Something went wrong with that request. Please try again.