Get the latest tech news
CodeMirror: Extensible code editor component for the web
In-browser code editor
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 extension. A full parser package, often with language-specific integration and extension code, exists for the following languages: These wonderful companies and organizations help fund development and maintenance of CodeMirror.
Or read this on Hacker News