Skip to content

Instantly share code, notes, and snippets.

@vicegd
Last active February 7, 2016 10:53
Show Gist options
  • Save vicegd/473410f4d15342733e5b to your computer and use it in GitHub Desktop.
Save vicegd/473410f4d15342733e5b to your computer and use it in GitHub Desktop.
Reveal.JS - Source code
<section>
<h2>Inserción de código fuente</h2>
<pre><code class="hljs" data-trim contenteditable>
public void sort(int[] elements) {
for (int i = 1; i < elements.length; i++) {
for (int j = elements.length - 1; j >= i; j--) {
if (elements[j-1] > elements[j])
Util.interchange(elements, j-1, j);
}
}
}
</code></pre>
<p>(Gracias a la librería <a href="http://softwaremaniacs.org/soft/highlight/en/description/">highlight.js</a>)</p>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment