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.
I attended Atlassian Summit 2019 and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events