This repository has moved to https://code.haverbeke.berlin/codemirror/codemirror5 CodeMirror 5 NOTE: CodeMirror 6 exists, and is more mobile-friendly, more accessible, better designed, and much more actively maintained. CodeMirror is a versatile text…
This repository has moved to https://code.haverbeke.berlin/codemirror/codemirror5
CodeMirror 5
NOTE: CodeMirror 6 exists, and is more mobile-friendly, more accessible, better designed, and much more actively maintained.
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.
Installation
Either get the zip file with
the latest version, or make sure you have Node
installed and run:
npm install codemirror@5
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.
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.
Members
-
dev ★ PINNED ▣
Development repository for the CodeMirror editor project
JavaScript ★ 7.8k 2mo agoExplain → -
codemirror5 ★ PINNED ▣
In-browser code editor (version 5, legacy)
JavaScript ★ 27k 2mo agoExplain → -
view ★ PINNED ▣
DOM view component for the CodeMirror code editor
TypeScript ★ 177 2mo agoExplain → -
state ★ PINNED ▣
Editor state data structures for the CodeMirror code editor
TypeScript ★ 81 2mo agoExplain → -
text ★ PINNED ▣
Document data structure for the CodeMirror code editor
TypeScript ★ 14 4y agoExplain → -
collab ★ PINNED ▣
Collaborative editing for the CodeMirror code editor
TypeScript ★ 48 2mo agoExplain → -
CodeMirror-v1 ▣
An editable-iframe based code editor in JavaScript. See https://github.com/marijnh/CodeMirror for the currently maintained version
JavaScript ★ 363 5y agoExplain → -
lang-markdown ▣
Markdown language support for the CodeMirror code editor
TypeScript ★ 130 2mo agoExplain → -
basic-setup ▣
Example configuration for the CodeMirror code editor
TypeScript ★ 111 2mo agoExplain → -
lsp-client ▣
Language server protocol client for CodeMirror
TypeScript ★ 111 2mo agoExplain → -
legacy-modes ▣
Collection of ported legacy language modes for the CodeMirror code editor
JavaScript ★ 108 2mo agoExplain → -
merge ▣
Merge view for CodeMirror
TypeScript ★ 105 2mo agoExplain → -
lang-sql ▣
SQL language support for the CodeMirror code editor
TypeScript ★ 99 2mo agoExplain → -
autocomplete ▣
Autocompletion for the CodeMirror code editor
TypeScript ★ 82 2mo agoExplain → -
theme-one-dark ▣
One Dark theme for the CodeMirror code editor
TypeScript ★ 82 2mo agoExplain → -
lang-example ▣
Example/template repository for building a language package
JavaScript ★ 79 2mo agoExplain → -
lang-javascript ▣
JavaScript language support for the CodeMirror code editor
TypeScript ★ 78 2mo agoExplain → -
grammar-mode
Tool for compiling grammars to modes
JavaScript ★ 48 6y agoExplain → -
lang-python ▣
Python language support for the CodeMirror code editor
TypeScript ★ 42 2mo agoExplain → -
website ▣
No description.
HTML ★ 39 2mo agoExplain → -
commands ▣
Collection of editing commands for the CodeMirror code editor
TypeScript ★ 38 2mo agoExplain → -
lang-html ▣
HTML language support for the CodeMirror code editor
TypeScript ★ 36 2mo agoExplain → -
lang-json ▣
JSON language support for the CodeMirror code editor
TypeScript ★ 33 2mo agoExplain → -
google-modes
A consistent set of modes for C, C++, Java, Go, JavaScript, TypeScript, Python, HTML, and Angular Templates
JavaScript ★ 33 2y agoExplain → -
language ▣
Language support infrastructure for the CodeMirror code editor
TypeScript ★ 31 2mo agoExplain → -
lang-rust ▣
Rust language support for the CodeMirror code editor
TypeScript ★ 29 2mo agoExplain → -
lang-vue ▣
Vue template support for CodeMirror
TypeScript ★ 29 2mo agoExplain → -
search ▣
Search functionality for the CodeMirror code editor
TypeScript ★ 25 2mo agoExplain → -
lint ▣
Linting support for the CodeMirror code editor
TypeScript ★ 25 2mo agoExplain → -
lang-php ▣
PHP integration for CodeMirror
TypeScript ★ 21 2mo agoExplain → -
lang-liquid ▣
Liquid template support for CodeMirror
TypeScript ★ 20 2mo agoExplain → -
lang-yaml ▣
YAML language support for CodeMirror
TypeScript ★ 19 2mo agoExplain → -
lang-css ▣
CSS language support for the CodeMirror code editor
TypeScript ★ 18 2mo agoExplain → -
lang-java ▣
Java language support for the CodeMirror code editor
TypeScript ★ 16 2mo agoExplain → -
highlight ▣
Syntax highlighting for the CodeMirror code editor
TypeScript ★ 14 4y agoExplain → -
language-data ▣
Language metadata and dynamic loading for the CodeMirror code editor
TypeScript ★ 13 2mo agoExplain → -
buildhelper ▣
Build utility used by CodeMirror packages
JavaScript ★ 11 2mo agoExplain → -
lang-cpp ▣
C++ language support for the CodeMirror code editor
TypeScript ★ 10 2mo agoExplain → -
lang-go ▣
Go language support for CodeMirror
TypeScript ★ 10 2mo agoExplain → -
lang-sass ▣
Sass/SCSS language support for CodeMirror
TypeScript ★ 10 2mo agoExplain → -
lang-xml ▣
XML language support for the CodeMirror code editor
TypeScript ★ 10 2mo agoExplain → -
lang-wast ▣
WebAssembly Text Format support for the CodeMirror code editor
TypeScript ★ 10 2mo agoExplain → -
lang-lezer ▣
Lezer grammar language support for CodeMirror
TypeScript ★ 9 2mo agoExplain → -
stream-parser ▣
Streaming language parser for the CodeMirror code editor
TypeScript ★ 9 4y agoExplain → -
lang-angular ▣
Angular Template language mode for CodeMirror
TypeScript ★ 8 2mo agoExplain → -
closebrackets ▣
Automatic bracket closing for the CodeMirror code editor
TypeScript ★ 7 4y agoExplain → -
matchbrackets ▣
Bracket matching for the CodeMirror code editor
TypeScript ★ 6 4y agoExplain → -
lang-jinja ▣
Jinja language support for CodeMirror
TypeScript ★ 5 2mo agoExplain → -
tooltip ▣
Tooltip support for the CodeMirror code editor
TypeScript ★ 5 4y agoExplain → -
rangeset ▣
Range set data structure for the CodeMirror code editor
TypeScript ★ 5 4y agoExplain → -
lang-less ▣
Less editor support for CodeMirror
TypeScript ★ 4 2mo agoExplain → -
comment ▣
Commenting and uncommenting commands for the CodeMirror code editor
TypeScript ★ 4 4y agoExplain → -
panel ▣
UI panels for the CodeMirror code editor
TypeScript ★ 4 4y agoExplain → -
gutter ▣
Gutter and line number functionality for the CodeMirror code editor
TypeScript ★ 4 4y agoExplain → -
history ▣
Undo/redo history for the CodeMirror code editor
TypeScript ★ 3 4y agoExplain → -
rectangular-selection ▣
Rectangular selection for the CodeMirror code editor
TypeScript ★ 3 4y agoExplain → -
fold ▣
Code folding for the CodeMirror code editor
TypeScript ★ 3 4y agoExplain →
No repos match these filters.