Friday, September 9, 2011

How To Post Source Code In A Blog

Sourcecode Formatter

The result looks like this, optional you can format it with line numbers but for the reader there is no easy mechanism to remove them if he wants the lines in his project.

 public class Robot {  
      private Gun gun = new Gun();  
      public void killAllHumans() {  

No comments:

Post a Comment