Development repository for the CodeMirror editor project https://codemirror.net/
Find a file
2026-04-15 08:05:41 +02:00
.github Remove github links 2026-04-15 08:05:41 +02:00
bin Remove github links 2026-04-15 08:05:41 +02:00
demo Remove github links 2026-04-15 08:05:41 +02:00
.gitignore Add lang-jinja package 2025-06-02 08:56:16 +02:00
.npmignore Change .npmignore order 2020-09-11 17:09:12 +02:00
CONTRIBUTING.md Remove github links 2026-04-15 08:05:41 +02:00
LICENSE Update maintainer email 2023-01-24 08:22:43 +01:00
package.json Remove github links 2026-04-15 08:05:41 +02:00
README.md Remove github links 2026-04-15 08:05:41 +02:00
tsconfig.json Add lang-jinja package 2025-06-02 08:56:16 +02:00

CodeMirror

[ WEBSITE | DOCS | ISSUES | FORUM ]

This is the central repository for CodeMirror. It holds the bug tracker and development scripts.

If you want to use CodeMirror, install the separate packages from npm, and ignore the contents of this repository. If you want to develop on CodeMirror, this repository provides scripts to install and work with the various packages.

To get started, make sure you are running node.js version 16. After cloning the repository, run

node bin/cm.js install

to clone the packages that make up the system, install dependencies, and build the packages. At any time you can rebuild packages, either by running npm run prepare in their subdirectory, or all at once with

node bin/cm.js build

Developing is best done by setting up

npm run dev

which starts a server that automatically rebuilds the packages when their code changes and exposes a dev server on port 8090 running the demo and browser tests.

Please see the website for more information and docs.