[Meta] Swift syntax highlighting

(Dan Zheng) #1

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() {}
}
0 Likes

(Jeremy Howard (Admin)) #2

OK I figured out how to fix it :slight_smile:

2 Likes