Awesome
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
@BootstrapTheme
@BootstrapDarkTheme