Skip to content

RedSeal-co/gherkin-pygments-lexer

 
 

Repository files navigation

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://[email protected]/aslakhellesoy/pygments-main cd pygments-main hg pull https://[email protected]/birkenfeld/pygments-main hg update

Making Pretty Cucumber features

pygmentize foo.feature

Hacking

Edit lexer.erb.py, then run rake

Packages

No packages published

Languages

  • Python 39.7%
  • HTML 37.3%
  • Gherkin 11.0%
  • Ruby 6.3%
  • CSS 5.7%