Created
September 1, 2017 09:50
-
-
Save nsommer/9a04f6ebc6ea8b9f5b816becb97e7d9b to your computer and use it in GitHub Desktop.
Gherkin syntax highlighting for LaTeX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\lstdefinelanguage{Gherkin}{ | |
morekeywords = { | |
Given, | |
When, | |
Then, | |
And, | |
Scenario, | |
Feature, | |
But, | |
Background, | |
Scenario Outline, | |
Examples | |
}, | |
sensitive=true, | |
morecomment=[l]{\#}, | |
morestring=[b]", | |
morestring=[b]' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
God bless ya