[Meta] Swift syntax highlighting

Could Discourse admins please enable Swift syntax highlighting?
I’m not familiar with Discourse, these instructions might be useful.

Currently, some keywords/declarations don’t seem to be highlighted correctly:

// `extension` and `func` keywords are not highlighted.
// Comments containing quotes mess things up: "".
extension WeirdHighlighting {
  func foo() {}
}

OK I figured out how to fix it :slight_smile:

3 Likes