color code script source output

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


I sometimes put scripts, as plain text, on the web, for easy

However, as plain text they are a bit hard to read. I would like to
color code the source (in the browser). I was wondering if there are
any PHP tools that allow me to do that. The idea being that PHP will
parse the text/script file and output the source code as color coded
webpage.  (the extension is always txt, so I would have to tell PHP
what language to expect)

I did some googling and found surprisingly  little.

Do any of you know whether such a tool exists? If so, could you give
me some pointers as to where to get me started? I am primarily looking
for a tool that will allow me to color code vbscript files.


Site Timeline