@hlolli/codemirror-lang-csound
v1.0.0-alpha9
Published
codemirror6 editor-plugin for csound
Downloads
37
Readme
codemirror-lang-csound
Support for csound in codemirror6
$ npm i @hlolli/codemirror-lang-csound codemirror --save
Add to extensions, example:
import { csoundMode } from '@hlolli/codemirror-lang-csound';
import { EditorView, basicSetup } from 'codemirror';
const editor = new EditorView({
extensions: [basicSetup, csoundMode({ fileType: 'csd' })],
parent: document.getElementById('editor')!,
});