Gherkin file not rendered

Problem

Gherkin file from Bitbucket Server is not rendered in Confluence with "Include Bitbucket Server for Confluence".

Solution

Confluence (and hence our plug-in) does not support Gherkin by default. But you can add new brushes (i.e., new languages) in Confluence in the admin area under "General configuration -> Configure Code Macro -> Add a new language". Afterwards, you can choose Gherkin in the include file macro of the plug-in and it will be rendered correctly.




SONAR™, SONARQUBE™ and SONARCLOUD™ are independent and trademarked products and services of SonarSource SA: see sonarsource.com, sonarqube.org, sonarcloud.io.