Is there any way to disable the syntax highlighting engine’s ability to auto select the language? I am trying to get a block of Swift code highlighted on my install of Discourse:
NSString *str = @"hello,"; str = [str stringByAppendingString:@" world"];
I’m flanking the code fence with
~~~swift...~~~ but that’s not working.
but the highlighting engine insists on highlighting it as either
nginx. My website only really uses a handful of languages (Xojo, Python, C# and Swift). Is there a way to remove / unload the unnecessary languages loaded by Discourse?