Howto: Display code in wordpress

I’ve been wanting to add some code examples but the difficulty of working with code in the wordpress editor has made me shy away from it.

Until I saw:

That was a lot easier than I imagined.

public class hello(){

int a;
int b;
a= a+b;


One thought on “Howto: Display code in wordpress

  1. Pingback: Trackback

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s