I can use [code lang="java"]..[/code]

February 19, 2009

My peer Oli showed me that code samples can look quiet nice within wordpress.com.

I thought that the button /code is all that wordpress got. The result looks boring:


public String doIt(String aParameter) {
String message = "My Message";
..
}

Oli told me that he uses wordpress.com as well. So quickly I found out that wordpress has included the codesnippet-plugin so I got linenumber, syntax-highlight, .. :

public String doIt(String aParameter) {
  String message = "My Message";
  ..
}

Cool. Thx Oli, Thx WordPress