Instance Property
syntax
The syntax for the content in the file, for example “swift”.
var syntax: String
Discussion
You can use this value to identify the syntax of the content. This would allow, for example, a renderer to perform syntax highlighting of the file’s content.