Language Support in Code Fences

by typora.io

日本語 (ja)

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 http://codemirror.net/mode/ or not. If it is, send us an email, and we will add it.
  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.