highlightjs / highlight.js

JavaScript syntax highlighter with language auto-detection and zero dependencies.
https://highlightjs.org/
BSD 3-Clause "New" or "Revised" License
23.78k stars 3.61k forks source link

(gherkin) Rule keyword is not highlighted #3639

Open pkufranky opened 2 years ago

pkufranky commented 2 years ago

Describe the issue

Rule keyword is not highlighted

Which language seems to have the issue?

gherkin

Are you using highlight or highlightAuto? highlight

Sample Code to Reproduce

Feature: foo
  Rule: rule 1
    Scenario: scenario 1

Expected behavior

Rule keyword is highlighted.

Additional context

image

joshgoebel commented 2 years ago

Great catch. Should be an easy fix - want to take a swing at making a PR for it?

pkufranky commented 2 years ago

Great catch. Should be an easy fix - want to take a swing at making a PR for it?

There is already a pr for this, thanks @Hirse