Extensible Code Editor
CodeMirror is a code editor component for the web. It can be used
in websites to implement a text input field with support for many
editing features, and has a rich programming interface to allow
CodeMirror is open source under a permissive license
It is being developed
Contributions are welcome.
If you are using
CodeMirror commercially, there is a social (but no
legal) expectation that you help fund its maintenance.
The library supports browsers up from Internet Explorer 11
(with some polyfills).
Discussing the project, or asking questions, is best done on
the forum. Bugs should
be reported through
tracker. We aim to be an inclusive, welcoming community. To make
that explicit, we have
a code of
conduct that applies to communication around the project.
A full parser package, often with language-specific integration and
extension code, exists for the following languages:
There is also a collection
of CodeMirror 5
modes that can be used. If no full support is available for your
language, you may still find a highlighter in there.
These wonderful companies and organizations help fund development and maintenance of CodeMirror.