Saturday, January 17, 2009

Testing new SyntaxHighlighting Plugin

This is a simple post to test syntax highlighting


public void printHello(){
System.out.println("Hello World");
}


Let's try some Groovy code now


class MyController {
// these will be injected by Griffon
def model
def view

void mvcGroupInit(Map args) {
// this method is called after model and view are injected
}

/*
def action = { evt = null ->
}
*/
}


I hope it works

Got it working, . . .

Keys to getting it working:
http://fahdshariff.blogspot.com/2008/07/syntax-highlighting-code-in-webpages.html
http://code.google.com/p/syntaxhighlighter/wiki/BloggerMode

Borrowed Groovy Highlighting from: http://grails.org/SyntaxHighlighter+Plugin