Gherkin isn't in list of supported prettify languages and is highlighted incorrectly when using
<!-- language: lang-default--> (words that don't have special meaning in Gherkin are highlighted).

Recommendations on adding Gherkin highlight support are in section Tool Developers here.

  • 3
    You should ask Google Code Prettify to add the support for that language, as Stack Exchange just uses that to support syntax highlighting. – kiamlaluno Jun 9 '12 at 9:10

You must log in to answer this question.

Browse other questions tagged .