Menu
I’m working on my website, which will include code snippets. The article itself is stored in a db. Each piece of code is included in a class “code” div.
What I want to know is a method of formatting it, doing selective syntax highlighting (C++, PHP, HTML, etc – I can specify that in my div as a first line or something) and then displaying it nicely on the client side. This includes detecting long lines which go over the div.
Something like [url=http://programmabilities.com/xml/?id=15]this