Skip to content
In-browser code editor
JavaScript HTML CSS
Branch: master
Clone or download

Latest commit

siddug [real-world uses] Add Adaface PairPro
Adding Adaface PairPro (remote pair programming tool with code editor, compiler and video conference) for interviews.
Added in alphabetical order.
Latest commit a66f466 May 26, 2020


Type Name Latest commit message Commit time
Failed to load latest commit information.
addon [match-highlighter] Fix issue in highlighting non-alphanumeric tokens May 15, 2020
bin Change Google Inc. to Google LLC Oct 19, 2018
demo doc update to clarify that negative lookbehind assertion for regex is Apr 20, 2020
doc [real-world uses] Add Adaface PairPro May 26, 2020
keymap [vim] Allow Ex-Commands with non-word names May 15, 2020
lib Increase size of scrollbar-hack gap May 4, 2020
mode [gfm mode] add fencedCodeBlockDefaultMode option May 18, 2020
src Don't render zero-width joiners as a special character May 26, 2020
test [vim] Allow Ex-Commands with non-word names May 15, 2020
theme [zenburn theme] Improve specificity of background selector Mar 18, 2020
.editorconfig add .editorconfig Jul 13, 2017
.gitattributes ensure lf eol on checkout Jul 13, 2017
.gitignore - Refactoring: Update to latest Rollup API Oct 6, 2018
.npmignore Make sure bin/source-highlight is in the distribution Jul 20, 2018
.travis.yml Use new 'cache: npm' travis feature Oct 26, 2018
AUTHORS Mark version 5.54.0 May 20, 2020 Mark version 5.54.0 May 20, 2020 Make all links to https Jul 24, 2018
LICENSE Added license name Feb 1, 2017 Drop funding-status smiley face Nov 12, 2018
index.html Mark version 5.54.0 May 20, 2020
package.json Mark version 5.54.0 May 20, 2020
rollup.config.js Fix trailing whitespace in build output Oct 6, 2018


Build Status NPM version Join the chat at

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 for contributing guidelines.

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


Either get the zip file with the latest version, or make sure you have Node installed and run:

npm install codemirror

NOTE: This is the source repository for the library, and not the distribution channel. Cloning it is not the recommended way to install the library, and will in fact not work unless you also run the build step.


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.

You can’t perform that action at this time.