Language Support in Code Fences


The latest version of Typora support syntax highlight of following languages (in lower case):

Please note that the language you specific in ```{lang} is case insensitive for typora when choose the corresponding syntax highlight.

Change Log:

My language is not listed aboveā€¦

Typora use CodeMirror for code fences with syntax highlight, so, if the language you want is not supported in Typora, you could:

  1. Check whether the language is support on or not, if so, send us an email, and we will add related support.
  2. If the language is not supported on, please check for adding syntax highlight on CodeMirror. After it is supported by CodeMirror, Typora will follow.