Settings

Syntax Highlighting

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.cfc
public any function yourMethod() {
  // you do something here
}

public any function onApplicationLoad($) {
  arguments.$.getBean('someBean').injectMethod('someMethod', yourMethod);
}

Are You Looking For A Driving School In Manhattan/NYC

GET A QUOTE