<script src="https://raw.github.com/mekwall/jquery-vangogh/master/src/jquery.vangogh.min.js"></script>
<h1>vanGogh - express your code in color</h1>
<h2>default functionality</h2>
<p>This is the default look and behavior of vanGogh. You can highlight individual lines by clicking its line number, and even multiple lines by ctrl or shift clicking. Double-clicking the code container will (if supported by the browser) select all code for easy copying.</p>
<pre id="c"><code class="language-javascript">// Van Gogh; express your code in color
var setArray = function(elems) {
this.length = 0; // This is a comment
push.apply(this, elems);
return this;
}
var aString = "Hello world!";</code></pre>
<br>
<h2>without gutter</h2>
<pre><code class="javascript">// Van Gogh; express your code in color
var setArray = function(elems) {
this.length = 0; // This is a comment
push.apply(this, elems);
return this;
}
var foo = "Hello world!";</code></pre>
<br />
<h2>inline highlighting</h2>
<p>You can easily highlight inline code as well, like this: <code class="inline javascript">var foo = "Hello world!";</code></p>
<h2>horizontal scrolling</h2>
<pre style="width: 200px;"><code class="language-javascript">var foo = "This is a very long line that will allow you to horizontally scroll the container";</code></pre>
<br />
<h2>remote source file</h2>
<pre id="r"><code></code></pre>
<br />