0.0.2 • Published 4 years ago

codemirror-dlx v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

codemirror-dlx

A CodeMirror mode for the DLX Assembly language

Live Demo

Usage

  1. 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'
  2. 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.

0.0.2

4 years ago

0.0.1

4 years ago