Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Code block in "gherkin" language is not working as expected. #57

Open
vishalmande opened this issue Sep 14, 2021 · 4 comments
Open

Code block in "gherkin" language is not working as expected. #57

vishalmande opened this issue Sep 14, 2021 · 4 comments
Assignees
Labels
language Language Support

Comments

@vishalmande
Copy link

Describe the bug
Code block in "gherkin" language is not working as expected.

To Reproduce
Steps to reproduce the behavior:

  1. 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
    }

  2. save the comment or description

  3. 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.

Screenshots
gherkin

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.

@siavashs
Copy link
Owner

@vishalmande the gherkin is not supported yet but will be added in future releases.

Repository owner deleted a comment from vishalmande Dec 15, 2021
Repository owner deleted a comment from vishalmande Dec 15, 2021
@siavashs siavashs added language Language Support and removed bug labels Dec 15, 2021
@vishalmande
Copy link
Author

@siavashs Thanks for the update.

@chauhanhitendra
Copy link

Do we have any plan to enable gherkin language ?

@chauhanhitendra
Copy link

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
language Language Support
Projects
None yet
Development

No branches or pull requests

3 participants