Skip to content

Instantly share code, notes, and snippets.

@richardxx
Forked from jdkanani/notepad.html
Created January 30, 2013 09:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richardxx/4671993 to your computer and use it in GitHub Desktop.
Save richardxx/4671993 to your computer and use it in GitHub Desktop.
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="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("editor");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</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..
-->
@richardxx
Copy link
Author

Very cool instant online code editor!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment