Language Support in Code Fences

by typora.io

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 http://codemirror.net/mode/ or not, if so, send us an email, and we will add related support.
  2. If the language is not supported on http://codemirror.net/mode/, please check https://github.com/codemirror/CodeMirror/wiki/Mode-wish-list for adding syntax highlight on CodeMirror. After it is supported by CodeMirror, Typora will follow.