Skip to content

Instantly share code, notes, and snippets.

@rocketworm
rocketworm / gherkin.js
Last active Jun 30, 2020
SyntaxHighlighter Custom Brush: Gherkin
View gherkin.js
/**
* Author: Michael Hall
* URL: http://www.bankofcanada.ca/
* License: GPL-2 | GPL-3
*/
SyntaxHighlighter.brushes.Gherkin = function()
{
/**
* Filters out the delimiters and values out of tables.
* @param match: the contents of the matching text