Featured Post

Passwordless ssh configuration

Simple step-by-step guide to config passwordless ssh access

Wednesday, June 15, 2011

Code Formatting in Blog

Example of code formatting in blog with google-code-prettify.

/*
 * HelloWorld.java
 */

package hello.world;

public class HelloWorld {

    public static void main (String[] args) {

        System.out.println("Hello, World!");
    }
}

And with Alex Gorbatchev's SyntaxHighlighter.

/*
 * HelloWorld.java
 */

package hello.world;

public class HelloWorld {

    public static void main (String[] args) {

        System.out.println("Hello, World!");
    }
}

No comments: