1234567891011121314/*** In fact, you're looking at ACE right now. Go ahead and play with it!** We are currently showing off the JavaScript mode. ACE has support for 45* language modes and 24 color themes!*/function add(x, y) {var resultString = "Hello, ACE! The result of your math is: ";var result = x + y;return resultString + result;}var addResult = add(3, 2);console.log(addResult);
1234567891011121314151617181920212223<!--* We are currently showing off the Html mode. ACE has support for 45* language modes and 24 color themes!--><!DOCTYPE html><html lang="en"><head><title>ACE in Action</title><style>#editor {position: absolute;top: 0;right: 0;bottom: 0;left: 0;}</style></head><body><div id="editor">function foo(items) {var x = "All this is syntax highlighted";return x;}</div>
1234567891011121314151617181920212223/* Some example CSS */@import url("something.css");body {margin: 0;padding: 3em 6em;font-family: tahoma, arial, sans-serif;color: #000;}#navigation a {font-weight: bold;text-decoration: none !important;}h1 {font-size: 2.5em;}h2 {font-size: 1.7em;