codemirror6-bootstrap-theme
v0.0.1
Published
Bootstrap5 theme for CodeMirror6
Downloads
15
Readme
Bootstrap Theme for CodeMirror6
Bootstrap5 Theme for CodeMirror6.
Usage
import { basicSetup, EditorView } from 'codemirror';
import { Bootstrap } from 'codemirror6-bootstrap-theme';
new EditorView({
doc: `色は匂へど 散りぬるを
我が世誰ぞ 常ならむ
有為の奥山 今日越えて
浅き夢見じ 酔ひもせず`,
extensions: [basicSetup, Bootstrap],
parent: document.getElementById('app'),
});
API Reference
@Bootstrap
@BootstrapDark
@BootstrapTheme
@BootstrapDarkTheme
@BootstrapHighlightStyle