Crikey! I’ve finally found a good way to get syntax highlighting on my code posts on WordPress! Here is the WordPress article on the tag to use for syntax highlighting, thanks WP!
To summarize, to outline your code include this around it:
your code here
where language can be many things (check the link for a full list), these are some: