A CodeMirror mode for the DLX Assembly language
-
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' })
Developed by Sven Cheng.
Published and mantained by Francisco Hanna.