SyntaxHighlighter.js brush for Cucumber:Gherkin

### Introduction

I required a new brush for [Syntax Highlighter][1] in order to highlight the keywords etc when I post Features or Scenarios, so I had a look at a sample by [Antono Vasiljev][2] and the [developing a custom brush][3] post by the author of SyntaxHighlighter, Alex Gorbatchev.

[1]:http://alexgorbatchev.com/SyntaxHighlighter/
[2]:http://antono.info/eng/2010/04/21/cucumber-for-syntax-hightlighter
[3]:http://alexgorbatchev.com/SyntaxHighlighter/manual/brushes/custom.html


### The Result

For a demo see [Building a service driven mobile app (Part 1)][4].
[4]:http://productive.me/web-dev/building-a-service-driven-mobile-app-part-1/

Posted in Blog, Develop
  • snowe2010

    Hmm. I can’t get this to work. Was this created with the old SyntaxHighlighter in mind?

    • JacoSwarts

      It has been a while, I’ll find some time to test and see if it has changed since this post.

Tweets