Sunday, August 15, 2010

New Syntax Highlighting implemented on the blog!

I've just implemented some new Syntax Highlighting, courtesy of Alex Gorbachev's SyntaxHighlighter. Here is an example of the new highlighted code.

Java:
public class AppleMain {

 public static void main(String[] args) {
  
  Tuna oTuna = new Tuna();
  oTuna.simpleMessage();
  oTuna.baconAndCheese();
  
  Apples oApples = new Apples();
  oApples.simpleMessage();
  oApples.cheeseBurger();
  
  oTuna.baconCheezBurger();

 }

}


For other Blogger users, this post from MLA Wire is very helpful in integrating the new Syntax Highlighting to Blogger.

I'll see if I can update some of the code in my older posts to integrate this feature.

No comments:

Post a Comment