Skip to content

franciscohanna92/codemirror-dlx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codemirror-dlx

A CodeMirror mode for the DLX Assembly language

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published