I see that your labels include that you are using Confluence Cloud. You can add a new language file to Confluence Server very easily (by using a brush file for SyntaxHighlighter such as the one here: http://natecook.com/projects/swift-syntax-highlighting/). Clicking on Configure Code Macro under General Configuration shows a link to "Add a new language".
Unfortunately, Confluence Cloud doesn't appear to show the option to add a language. You might be able to ask Atlassian Support if they can install it for you, but no promises
As mentioned in https://jira.atlassian.com/browse/CONF-40325, we need to update Confluence versions as below
Then we don't need a fix of @Stefan Mayer-Popp.
Brush.aliases = ['swift'];
Here's the highlight sample applying to https://github.com/syntaxhighlighter/brush-swift/blob/v4.0.0/sample.txt.
Hope this helps.
Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...
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