Skip to content

rockplate/rockplate-codemirror

Repository files navigation

MIT License dependencies Status devDependencies Status HitCount

Rockplate CodeMirror

CodeMirror implementation for Rockplate language

Features

  • Syntax highlighting - rockplate mode
  • Linting support
  • Code folding support

Usage

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