Skip to content

Instantly share code, notes, and snippets.

@nsommer
Created September 1, 2017 09:50
Show Gist options
  • Save nsommer/9a04f6ebc6ea8b9f5b816becb97e7d9b to your computer and use it in GitHub Desktop.
Save nsommer/9a04f6ebc6ea8b9f5b816becb97e7d9b to your computer and use it in GitHub Desktop.
Gherkin syntax highlighting for LaTeX
\lstdefinelanguage{Gherkin}{
morekeywords = {
Given,
When,
Then,
And,
Scenario,
Feature,
But,
Background,
Scenario Outline,
Examples
},
sensitive=true,
morecomment=[l]{\#},
morestring=[b]",
morestring=[b]'
}
@jordan-gillard
Copy link

God bless ya

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment