Check out MellowD which is the language these tools were created to support.
For developers hacking with Brackets you can grab this extension to get some syntax highlighting for .mlod files.
- Download/open Brackets
- Click on the lego icon on the right to open the extensions window
- In the
Availabletab search forMellowDand install theMellowD Syntax Highlighterplugin bySpencer Park. (That's me!) - The theme I use (which also looks great with this syntax highlighter) is Default Dark - Base16
CodeMirror is a fantastic project that is open source on GitHub at https://github.com/codemirror/CodeMirror/. It is essentially a code editor written in javascript that Brackets has made use of under the hood.
To support a new language in CodeMirror you need to write a mode that teaches it how to highlight the syntax and that is exactly what this project did. You can find the mode in the codemirror directory written in typescript. If you want to embed a MellowD editor on a website this is the mode you will need to use.
The project uses npm for dependency management and gulp for building. If you don't have npm you will need to install NodeJS for your system. This should include npm so just make sure it is included in your PATH by running npm -version.
- Clone this repository
git clone https://github.com/SpencerPark/mellowd-lang-support.git
- Install all the required packages
cd mellowd-lang-support/ npm install cd codemirror npm install cd ../../
- Build the projects:
If you have
gulpinstalled globally (you rannpm install -g gulp) then just runOtherwise you can skip the global install and just use the local one you just installedcd mellowd-lang-support/ gulp buildcd mellowd-lang-support/ ./node_modules/.bin/gulp build