CodeMirror implementation for Rockplate language
- Syntax highlighting -
rockplate
mode - Linting support
- Code folding support
npm install rockplate-codemirror
import CodeMirror from 'codemirror';
import { register } from 'rockplate-codemirror';
register(CodeMirror);
Usage with <script>
tag:
<script src="https://cdn.jsdelivr.net/npm/rockplate-codemirror@latest/dist/rockplate-codemirror.min.js"></script>
Registered automatically