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 my Community friends! For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...
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