Learn to dance with the Banana!

Syntax Highlighting

The program ships with highlight.js for code syntax highlighting.

To highlight code, use a combination pre/code element:

// Code here

You can tell highlight.js what language you are displaying by adding a class to the "code" element:

<pre><code class="php">
// Code here

Click here for a language class reference.

Last modified 3 years ago.