Page 1 of 1

Syntax highlighting

Posted: Wed Nov 23, 2005 8:18 pm
by HiddenS3crets
I was wondering if anyone knows how to do do syntax highlighting on submitted information?

I'm setting up a source code section and I want to have syntax highlighting for the submitted code.

Posted: Wed Nov 23, 2005 8:25 pm
by John Cartwright
highlight_string() :)

You can also check out our code snipplet board for syntax highlighting for various other languages (I believe)

Posted: Wed Nov 23, 2005 8:52 pm
by HiddenS3crets
I found a program called GeSHI. I believe this is what pastebin.com uses, so I know it's good!