virt2/api/soft/CodeMirror/README.md

1.2 KiB
Executable File

CodeMirror 6 prototype

This is the prototype of the next version of CodeMirror, a complete rewrite.

Eventually, the content of this repository will move into different packages. For now, to reduce friction during development, it is a monorepo. Its content is published as the @codemirror/next package on npm.

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

npm install

to install dependencies, and

npm run dev

to start a server that automatically rebuilds the bundles when the code changes and exposes a dev server on port 8090 running the demo and tests.

Please see the website for more information and docs.

There's a Matrix room for dev discussion at #codemirror6:matrix.org.

This code is dual-licensed under the MIT and GPL-v3 licenses. This means that you, as user, may choose one of these licenses to abide by. I.e. if complying with the GPL is problematic for you, you can choose the more liberal MIT license.