Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 760 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 760 Bytes

R-WHILE_Syntax_Highlighter

GitHub license npm

R-WHILE syntax highlighter with Ace-js.

Usage

  1. Download ace.js and mode-rwhile.js in the same directory on your project.
  2. Write HTML as below.
<script src="js/ace.js"></script>

<div id="editor" style="height: 700px; width: 500px"></div>

<script>
    var editor = ace.edit("editor");
    editor.session.setMode("ace/mode/rwhile");
</script>

For more information see http://ace.c9.io/.