Code block in "gherkin" language is not working as expected.
vishalmande opened this issue · comments
Describe the bug
Code block in "gherkin" language is not working as expected.
To Reproduce
Steps to reproduce the behavior:
-
Go to any Jira ticket add below code block to comment or description
{
Feature: CLI access through AUX USB port
Background:
Given a USB type A cable connected between the AUX port of the card and the USB port of a PC
When console software (putty, picocom /dev/ttyUSB0 -b 155200) is launched on the PC and set up to access the USB port
Scenario: Successful connexion through USB
Then The invite text is displayed on the console
Scenario: Successful login through USB
When entering login and password in the console
Then the CLI menu is displayed on the console
Scenario: replace USB cable with sensor after reboot
When removing USB cable
And rebooting the card
And inserting a sensor cable
Then the sensor works
} -
save the comment or description
-
Getting below error :
"Unable to find source-code formatter for language: gherkin. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml"
Expected behavior
It should highlight the syntax.
Desktop (please complete the following information):
- Browser [e.g. Chrome, Safari]
- JIRA Version [e.g. 8.5.1]
- Prism Version [e.g. 1.3.2]
Additional context
Could you please help here, Note- "{code} formatting macro " module is enabled for the plugin.
@vishalmande the gherkin
is not supported yet but will be added in future releases.
@siavashs Thanks for the update.
Do we have any plan to enable gherkin language ?
@siavashs : The URL https://prismjs.com/#languages-list mentions that prism plugin supports gherkin, but you are saying that it doesn't support gherkin.
I am little bit confused now.