@cookshack/codemirror-ansi
v0.1.2
Published
ANSI escape code extension for Codemirror 6
Downloads
11
Readme
@cookshack/codemirror-ansi
ANSI escape code handling for CodeMirror 6.
Currently only affects Select Graphic Rendition sequences (the color escapes):
- hides control chars
- displays/clears 4 bit fg/bg colors and bold
Screenshots
Example
window.view = new EditorView({
extensions: [ ansi(), ...
Build from source
$ npm i # only needed first time
$ npm run prepare