2

Possible Duplicate:
How does Stack Overflow syntax highlight citations so well?

I hope I'm asking this in the right place.

I really admire the color-coding script that the Stack Overflow text editor uses (the one that encodes and parses JavaScript code and other languages and wraps keywords in spans for CSS color styling). Is that a proprietary script or one that might be publicly available (or a proprietary script that Stack Overflow would be willing to share)?

It would come in really handy for internal application documentation.

1
  • It’s really remarkably poor on Perl. – tchrist Mar 28 '12 at 15:13
6

It's Prettify.

1
  • nice! Thanks for the link. This will definitely come in handy. – DA. Dec 17 '09 at 19:16

Not the answer you're looking for? Browse other questions tagged .