Skip to content

breaddevil/gherkin-syntax-highlighters

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 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.

About

Syntax highlighters for Gherkin source

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 69.6%
  • CSS 16.4%
  • Perl 8.9%
  • PHP 1.8%
  • Slash 0.6%
  • Ruby 0.6%
  • Other 2.1%