Try using triple back ticks like so:
```
import Foundation
@objc class Person: Entity {
var name: String!
var age: Int!
init(name: String, age: Int) {
/* /* ... */ */
}
// Return a descriptive string for this person
func description(offset: Int = 0) -> String {
return "\(name) is \(age + offset) years old"
}
}
```
Will result in:
import Foundation
@objc class Person: Entity {
var name: String!
var age: Int!
init(name: String, age: Int) {
/* /* ... */ */
}
// Return a descriptive string for this person
func description(offset: Int = 0) -> String {
return "\(name) is \(age + offset) years old"
}
}
@SHC is correct that Flarum supports highlight.js and you can find the available languages via: https://github.com/isagalaev/highlight.js/tree/master/src/languages or https://github.com/isagalaev/highlight.js/tree/master/src/languages under "all".