highlightjs / highlight.js

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

(gherkin) Rule keyword is not highlighted #3639

Open pkufranky opened 1 year ago

pkufranky commented 1 year 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 1 year ago

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

pkufranky commented 1 year 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