Open links in new tab
  1. CodeMirror

    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 further …

  2. CodeMirror 5

    CodeMirror is a versatile text editor implemented in JavaScript for the browser. It is specialized for editing code, and comes with a number of language modes and addons that implement more …

  3. CodeMirror Docs

    An ordered collection of the extensions available in the core packages. Examples A collection of examples showing how to implement various use cases. Migration Guide Summary of the way the …

  4. CodeMirror Examples

    Read-Only Editor Create an editor configuration that doesn't allow the user to modify the document. Linting Define a function that finds problems in the content, and show those problems in the editor. …

  5. CodeMirror 5 User Manual

    You can ask CodeMirror which modes and MIME types have been defined by inspecting the CodeMirror.modes and CodeMirror.mimeModes objects. The first maps mode names to their …

  6. CodeMirror

    CodeMirror is a JavaScript component that provides a code editor in the browser. When a mode is available for the language you are coding in, it will color your code, and optionally help with indentation.

  7. Try CodeMirror

    Try CodeMirror Write a program to define an editor, then see what the resulting editor looks like. This can be useful to try things out or to share scripts to explain something or illustrate a bug report.

  8. CodeMirror: User Manual

    You can ask CodeMirror which modes and MIME types have been defined by inspecting the CodeMirror.modes and CodeMirror.mimeModes objects. The first maps mode names to their …

  9. CodeMirror Reference Manual

    Reference Manual CodeMirror is published as a set of NPM packages under the @codemirror scope. The core packages are listed in this reference guide. Each package exposes ECMAScript and …

  10. CodeMirror System Guide

    CodeMirror is set up as a collection of separate modules that, together, provide a full-featured text and code editor. On the bright side, this means that you can pick and choose which features you need, …