-
-
Save bashor/4671750 to your computer and use it in GitHub Desktop.
Fix link to the script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data:text/html, <style type="text/css">.e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div class="e" id="editor"></div><script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.32.8/ace.min.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("editor");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/c_cpp");e.setFontSize("16px");</script> | |
| <!-- | |
| For other language: Instead of `ace/mode/ruby`, Use | |
| Python -> `ace/mode/python` | |
| C/C++ -> `ace/mode/c_cpp` | |
| Javscript -> `ace/mode/javascript` | |
| Java -> `ace/mode/java` | |
| Scala- -> `ace/mode/scala` | |
| and so on.. | |
| For other language: Instead of `ace/theme/monokai`, Use | |
| Eclipse -> ace/theme/eclipse | |
| TextMate -> ace/theme/textmate | |
| and so on.. | |
| --> |
Comments are disabled for this gist.