Well you already have several answers on how to build it yourself, but you can also get a PHP script that does it for you (and more).
GeSHi - Supports syntax highlighting and many programming/markup languages and is highly customizable. I haven't personally used it, but my friend recommended it to me and his site used it (way back when I didn't know anything php).
Might give that a try
EDIT: Neat, you can even click on the tags and they link you to a definition and list parameters etc. I think I'm going to build something and put this to use now :P
|