codemirror-mode-elixir
A CodeMirror mode for the Elixir language
Installation
npm install codemirror codemirror-mode-elixir --save
Usage
- Include
codemirror-mode-elixir
into your project.
<!-- You can simply add elixir.js as a script tag: -->
or
// If you're using frontend build tools like Webpack and Babel,// you can simply import the module and register the mode:
- Set 'elixir' as the mode when creating the CodeMirror editor.
CodeMirror