codemirror-dlx
0.0.2 • Public • Published codemirror-dlx
A CodeMirror mode for the DLX Assembly language
Usage
-
Include mode and style into your project.
<link href="node_modules/codemirror-dlx/theme/dlx-dark.css">
<script src="node_modules/codemirror-dlx/mode/dlx.js"></script>
or
import 'codemirror-dlx/theme/dlx-dark.css'
import 'codemirror-dlx/mode/dlx'
-
Set 'dlx' as the mode and choose your theme when creating the CodeMirror editor.
CodeMirror.fromTextArea(document.getElementById('your-textarea-id'), {
mode: 'dlx',
theme: 'dlx-dark'
})
About
Developed by Sven Cheng.
Published and mantained by Francisco Hanna.
Package Sidebar
Install
Weekly Downloads