Syntax Highlighting

With Mura CMS, you can easily add syntax highlighting to your code with Google Code Prettify. Simply wrap your text with <pre class="prettify">...</pre> and it should now have syntax highligting when viewed on the front end of your site. Add "linenums" to the class to display line numbers.

// drop this in your eventHandler.cfcpublic any function yourMethod() {  // you do something here}public any function onApplicationLoad($) {  arguments.$.getBean('someBean').injectMethod('someMethod', yourMethod);}

From The Blog

On The Eve Of The Mayanocolypse
01 May 2014

On The Eve Of The Mayanocolypse

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent suscipit iaculis libero sed tristique. Quisque mollis dolor non tellus placerat vitae sodales lectus porta. Curabitur ut suscipit tellus.

Life As A Self-Aware Meme
04 March 2014

Life As A Self-Aware Meme

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent suscipit iaculis libero sed tristique. Quisque mollis dolor non tellus placerat vitae sodales lectus porta. Curabitur ut suscipit tellus.

Facepalm Moments In History
14 February 2014

Facepalm Moments In History

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent suscipit iaculis libero sed tristique. Quisque mollis dolor non tellus placerat vitae sodales lectus porta. Curabitur ut suscipit tellus.

Spotlight

Why Staplers Matter

Why Staplers Matter

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent suscipit iaculis libero sed tristique. Quisque mollis dolor non tellus placerat vitae sodales lectus porta. Curabitur ut suscipit tellus.