Pages

August 31, 2010

Blogger Code Formattings | Sample

"Show Me The Code" ( a title of davanum's blog ) !! 
To present snippets in most readable form in blog post, code-snippets needs to be formmated with Syntax Highlighter. Below is the code formatting sample...
// Comment
public class Interesting{
  public Interesting() {
}
 
public void Fun() {
  /* Another Comment
  on multiple lines */
  int x = 9;
}
}

Find out how to format code like this sample on Syntax Highlighter for Blog | a Blog Post 
hope this helps you to "Show Your Snippets" - Sharing is Learning !!

0 comments:

Post a Comment