Thursday, October 1, 2009

Posting code snippets...

Eh, that's going to be tough. I thought of ocassionally posting Java and C# code snippets with syntax coloring and nice formatting. Googling for the problem shows that's not a simple thing though. Got to search for a good solution...
This is what Java2Html Eclipse plugin produces when using inline fonts:
1     public static boolean equals(final Object a, final Object b) {
2         return a != null && b != null && a.equals(b);
3     }

Looks fine so far... Later I'll switch to customized stylesheets.

No comments:

Post a Comment