In-browser code editor
JavaScript HTML CSS
Permalink
Failed to load latest commit information.
addon [runmode addon] Include CodeMirror.innerMode in runmode.node.js Oct 18, 2017
bin [bin/authors.sh] Make sure changed name doesn't resurface from git hi… Oct 18, 2017
demo [vim bindings] Show fat cursor even in contentEditable mode Oct 16, 2017
doc Bump version number post-5.30.0 Oct 20, 2017
keymap [sublime keymap] Fix fallthrough for mac bindings Oct 16, 2017
lib [vim bindings] Show fat cursor even in contentEditable mode Oct 16, 2017
mode [javascript mode] Fix bug in object literal spread parsing Oct 18, 2017
src Bump version number post-5.30.0 Oct 20, 2017
test Add a baseToken method to string streams Oct 18, 2017
theme [midnight theme] Remove top border and bottom border Jul 14, 2017
.editorconfig add .editorconfig Jul 13, 2017
.gitattributes ensure lf eol on checkout Jul 13, 2017
.gitignore Add lib/codemirror.js to .gitignore Oct 2, 2016
.npmignore Don't exclude rollup.config.js from NPM Jan 12, 2017
.travis.yml [travis] Use stable node and container infrastructure Jul 13, 2015
AUTHORS Mark version 5.31.0 Oct 20, 2017
CHANGELOG.md Mark version 5.31.0 Oct 20, 2017
CONTRIBUTING.md Mention not accepting new addons/modes in CONTRIBUTING.md Apr 5, 2017
LICENSE Added license name Feb 1, 2017
README.md Emphasised on highlighting Sep 18, 2017
index.html Mark version 5.31.0 Oct 20, 2017
package.json Bump version number post-5.30.0 Oct 20, 2017
rollup.config.js Upgrade Bublé, use namedFunctionExpressions option Dec 13, 2016

README.md

CodeMirror

Build Status NPM version Join the chat at https://gitter.im/codemirror/CodeMirror
Funding status: maintainer happiness

CodeMirror is a versatile text editor implemented in JavaScript for the browser. It is specialized for editing code, and comes with over 100 language modes and various addons that implement more advanced editing functionality. Every language comes with fully-featured code and syntax highlighting to help with reading and editing complex code.

A rich programming API and a CSS theming system are available for customizing CodeMirror to fit your application, and extending it with new functionality.

You can find more information (and the manual) on the project page. For questions and discussion, use the discussion forum.

See CONTRIBUTING.md for contributing guidelines.

The CodeMirror community aims to be welcoming to everybody. We use the Contributor Covenant (1.1) as our code of conduct.

Quickstart

To build the project, make sure you have Node.js installed (at least version 6) and then npm install. To run, just open index.html in your browser (you don't need to run a webserver). Run the tests with npm test.