prismjs-for-expressionengine

Prism.js for ExpressionEngine

Stars
12

Prism.js ExpressionEngine Syntax Highlighter

Author

Justin Kimbrell (Objective HTML) http://www.objectivehtml.com

Overview

This is a basic syntax highlighter for ExpressionEngine code built specifically for Prism.js.

Installation

Copy the lang.ee.js file and include it in the Prism.js file, or include it seperately in your document's head. To get syntax highlighting to work, simply create an element as follows:

<pre class="language-ee"><code>

	// Your code goes here

</code></pre>

License

MIT license http://www.opensource.org/licenses/mit-license.php/

Credits

Thanks to Lea Verou for writting and releasing Prism.js - a job very well done!