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);}
Mura CMS
Diam odio lorem

Diam odio lorem

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.

Sed duis consequat

Sed duis consequat

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.

Tellus nulla volutpat

Tellus nulla volutpat

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.