codemirror-mode-dust
CodeMirror mode for dust templates.
Usage instructions
-
Install codemirror-mode-dust from NPM:
npm install codemirror-mode-dust
-
Include
codemirror-mode-dust
into your project.
<!-- You can simply add dust.js as a script tag: -->
or
// If you're using front-end build tools like Webpack and Babel,// you can simply import the module and register the mode:;; // optional base mode.;
- Set
dust
as the mode when creating the CodeMirror editor.
CodeMirror;