0.1.0-alpha • Published 1 year ago
codemirror-lang-cue v0.1.0-alpha
codemirror-lang-cue
This package implements CUE language support for the CodeMirror code editor.
Getting Started
Installation
npm i codemirror-lang-cueUsage
import {EditorView} from '@codemirror/view';
import {EditorState} from '@codemirror/state';
import {cue} from "codemirror-lang-cue";
const state = EditorState.create({
doc: 'my cue code',
extensions: [
cue(),
]
});
const view = new EditorView({
parent: document.querySelector('#editor'),
state
});Example
TODO:
0.1.0-alpha
1 year ago
0.0.0-alpha.0
1 year ago