We have Stash 3.7.1 here, and we use the plugin "Include Stash for Confluence".
When I include a ".java" file in a page with this plugin syntax highlighting is OK, as when the file is shown in Stash.
But when I include a ".feature" file with the plugin, I get no syntax highlighting at all, while there is when the same file is shown in Stash ...
Is this a known bug in the plugin ?
"Include Stash for Confluence" uses Confluence's code macro internally for rendering source code. Confluence (and hence our plug-in) does not support Gerkin by default. But you can add new brushes (i.e., new languages) in Confluence by
General configuration -> Configure Code Macro -> Add a new language
The plug-in though is not able yet to use these (we currently try to guess the used programming language automatically). We need to support the use case where the user wants to override the inferred programming language and offer the possibility to choose one of the customizable brushes.
There is a feature request for this already: https://mibexsoftware.atlassian.net/projects/INCLUDE/issues/INCLUDE-20
You can subscribe to this issue as a watcher to get notified as soon as this is implemented. And of course, you can also vote for it which will increase the chance that this gets implemented very soon.
Hope this helps.
Michael (author of the plug-in)
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs