Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/franciscohanna92/codemirror-dlx


https://github.com/franciscohanna92/codemirror-dlx

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# codemirror-dlx
A CodeMirror mode for the DLX Assembly language

### [Live Demo](https://franciscohanna.me/codemirror-dlx/)

## Usage

1. Include mode and style into your project.

```html


```

or

```js
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.

```js
CodeMirror.fromTextArea(document.getElementById('your-textarea-id'), {
mode: 'dlx',
theme: 'dlx-dark'
})
```

## About

Developed by [Sven Cheng](https://github.com/huesersohn).

Published and mantained by [Francisco Hanna](https://github.com/franciscohanna92).