Implementation of the code editor CodeMirror.
In order to include the CodeMirror editor use:
{include file='mcodemirror' codemirrorMode='language' codemirrorSelector='id of your textarea'}
Example:
<section class="section marginTop">
<legend>An awesome section-title</legend>
<dl class="wide">
<dt>Your message in here:</dt>
<dd>
<textarea id="scss" name="scss">/* some SCSS seclarations */</textarea>
{include file='mcodemirror' codemirrorMode='text/x-less' codemirrorSelector='scss'}
</dd>
</dl>
</section>
CodeMirror-Version: 5.62.3
If you have trouble including the CodeMirror editor or questions feel free to ask me: Forum
If you got questions about CodeMirror itself, please visit their GitHub Repository.
CodeMirror is licensed under MIT License