Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

cucumber-attic/gherkin-syntax-highlighters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I18n Gherkin syntax highlighting for several highlighting engines:

Examples are here.

Hacking

First, install dependencies:

git submodule update --init --recursive
gem install gherkin

Each syntax highlighter has a template named template.erb that you can edit. You can then regenerate a highlighter with e.g.

rake highlight.js/gherkin_en.js

To regenerate all of the highlighters, run:

rake

The shjs modes don't have a template.erb as they are generated from the src-highlight modes.

Contributing

If you have fixed something, commit it to your fork of the repo and send a pull request.