Implementation of the code editor Monaco.
In order to include the Monaco editor use:
{include file='monaco' monacoMode='language' monacoSelector='id of your textarea'}
If you want to view invisible characters you can add $showInvisibles=true
:
{include file='monaco' monacoMode='language' monacoSelector='id of your textarea' $showInvisibles=true}
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='monaco' monacoMode='scss' monacoSelector='scss'}
</dd>
</dl>
</section>
Monaco-Version: 0.27.0
If you have trouble including the Monaco editor or questions feel free to ask me: Forum
If you got questions about Monaco itself, please visit their GitHub Repository.
Monaco is licensed under MIT License