Language modes
This is a list of every mode in the distribution. Each mode lives
in a subdirectory of the mode/
directory, and typically
defines a single JavaScript file that implements the mode. Loading
such file will make the language available to CodeMirror, through
the mode
option.
- APL
- Asterisk dialplan
- C, C++, C#
- Clojure
- COBOL
- CoffeeScript
- Common Lisp
- CSS
- Cython
- D
- diff
- DTD
- ECL
- Eiffel
- Erlang
- Fortran
- F#
- Gas (AT&T-style assembly)
- Gherkin
- Go
- Groovy
- HAML
- Haskell
- Haxe
- HTML embedded scripts
- HTML mixed-mode
- HTTP
- Java
- Jade
- JavaScript
- Jinja2
- Julia
- LESS
- LiveScript
- Lua
- Markdown (GitHub-flavour)
- mIRC
- Nginx
- NTriples
- OCaml
- Octave (MATLAB)
- Pascal
- PEG.js
- Perl
- PHP
- Pig Latin
- Properties files
- Python
- Q
- R
- RPM spec and changelog
- reStructuredText
- Ruby
- Rust
- Sass
- Scala
- Scheme
- SCSS
- Shell
- Sieve
- Smalltalk
- Smarty
- Smarty/HTML mixed
- SQL (several dialects)
- SPARQL
- sTeX, LaTeX
- Tcl
- Tiddlywiki
- Tiki wiki
- TOML
- Turtle
- VB.NET
- VBScript
- Velocity
- Verilog
- XML/HTML
- XQuery
- YAML
- Z80