Displaying syntax highlighted code
I have a blog that I write up entries for that sometimes has programming code as part of the text within my writing's. Normally I use the quote function to give it a bit of highlighting, but was wondering if there's a better way that anyone has come across in their travels. Something that could do this for example:
function foo() {
$var = "bar";
}
to highlight various property for the code like an IDE would.
Thought that this would have been asked before, but after searching didn't have any luck, so thought I'd ask. Thanks for anyone that can offer some help on this matter.
Topic syntax-highlighting plugins Wordpress
Category Web