CodeMirror 4.6

A powerful JavaScript library that can be used to create a relatively pleasant editor interface for code-like content, with support for multiple programming languages
If a parser is available for the programming language of the edited code, this library will handle syntax highlighting and indentation.

Usage:

To use CodeMirror in a document, a script tag to load codemirror.js must be added.
This adds two objects to the environment, CodeMirror and CodeMirrorConfig.
The first is the interface to the editor, the second can be used to configure it.

Main features:

  • Supported languages:
  • C, C++, C#, Java, and similar
  • Clojure
  • COBOL
  • CoffeeScript
  • Common Lisp
  • CSS
  • Cypher
  • Diff
  • DTD
  • ECL
  • Eiffel
  • Emacs
  • Erlang
  • Fortran
  • Gherkin
  • Go
  • GNU Assembler
  • Groovy
  • HAML
  • Haskell
  • HaXe
  • HTML embedded scripts
  • HTML mixed-mode
  • INI
  • Jade
  • JavaScript
  • Jinja2
  • Julia
  • LESS
  • LiveScript
  • Lua
  • Markdown (Github-flavour)
  • MSSQL
  • mIRC
  • Nginx
  • NoTex (rST authoring)
  • NTriples
  • OCaml
  • Octave (Matlab)
  • Pascal
  • PEG.js
  • Perl
  • PHP
  • Pig Latin
  • Properties files
  • Python
  • RPM spec and changelog
  • reStructuredText
  • Ruby
  • Rust
  • SASS (SCSS)
  • Scala
  • Scheme
  • Shell
  • Slim
  • Smalltalk
  • Smarty
  • Solr
  • SPARQL
  • SQL (many dialects)
  • sTeX, LaTeX
  • Tiddlywiki
  • Tiki Wiki
  • TOML
  • TypeScript
  • VB.NET
  • VBScript
  • Velocity
  • Verilog
  • XML/HTML (alternative XML)
  • XQuery
  • YAML
  • z80
  • Supported browsers:
  • Firefox 1.5 or higher
  • Internet Explorer 6 or higher
  • Safari 3 or higher
  • Opera 9.52 or higher
  • Chrome

last updated on:
September 20th, 2014, 8:32 GMT
price:
FREE!
developed by:
Marijn Haverbeke
license type:
Other Free / Open Source License
operating system(s):
Windows / Linux / Mac OS / BSD / Solaris
category:
C: \ Text Management \ Text Editors

FREE!

In a hurry? Add it to your Download Basket!

user rating 20

UNRATED
4.8/5
 

0/5

1 Screenshot
CodeMirror - Highlighting source code
What's New in This Release:
  • New mode: Modelica
  • New method: findWordAt
  • Make it easier to use text background styling
read full changelog

Add your review!

SUBMIT