Language Support in Code Fences


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

Note: The language you specify in ```{lang} is case insensitive in Typora.

My language is not listed aboveā€¦

Typora uses CodeMirror for syntax highlighting in code fences, so if the language you want is not supported in Typora, please:

  1. Check whether the language is supported on or not. If it is, send us an email, and we will add it.
  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.