mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 13:23:40 +08:00
9 lines
611 B
JavaScript
9 lines
611 B
JavaScript
/*! `gherkin` grammar compiled for Highlight.js 11.6.0 */
|
|
var hljsGrammar=(()=>{"use strict";return e=>({name:"Gherkin",
|
|
aliases:["feature"],
|
|
keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",
|
|
contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",
|
|
begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",
|
|
begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{
|
|
className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]})})()
|
|
;export default hljsGrammar; |