Language-sensitive syntax highlighter and indenter
Does anyone know of a good syntax highlighter that is language sensitive that can output html? I want to set up a section on my site to showcase (and for code viewing on my software section) my code I've written in php, perl, java, etc. I'm looking for a script that will let me give it a filename containing a source code file, and will return a colored, pretty-indented html version of the code.
I could probably write this myself, but if there's already a solution out there, it would be easier.
Thanks,
Does anyone know of a good syntax highlighter that is language sensitive that can output html? I want to set up a section on my site to showcase (and for code viewing on my software section) my code I've written in php, perl, java, etc. I'm looking for a script that will let me give it a filename containing a source code file, and will return a colored, pretty-indented html version of the code.
I could probably write this myself, but if there's already a solution out there, it would be easier.
Thanks,
Last edited:







