rouge-ruby / rouge

A pure Ruby code highlighter that is compatible with Pygments
https://rouge.jneen.net/
Other
3.32k stars 731 forks source link

Gherkin: Support `Rule` keyword #1827

Closed shivjm closed 1 year ago

shivjm commented 2 years ago

Is your enhancement request related to a problem? Please describe. The Rule keyword was added in v6, but Rouge doesn’t recognize it.

Describe the solution you'd like Rouge should recognize the keyword. I don’t believe any additional processing is required, as it only affects the indentation of the contained Examples/Scenarios.

jsa34 commented 1 year ago

I've just come across this when using Gitlab's markdown for gherkin and it would be extremely helpful.