this is my first post here, I'm rather new with PHP programming but not with programming) and I've just build my first app with it. It's called "Prism", it is a syntax highlighting engine.
I already know PHP's got Geshi, but I don't like it too much. Prism is light (~12Ko), extensible and supports a dozen of languages atm (but writting a new one is really easy) among: PHP, JS, HTML, XML, Python, Ruby, etc.
You can play with it here : Prism's pastebin. I just hope my little SQLite db will support your posts!
The Prism library (ie highlighting engine) will be released in the next few days with a good licence.
Last edited by kib2 : 01-19-2011 at 01:16 PM.
Reason: forgotten talking about my sqlite db
The CSS didn't highlight the attribute selector (like [...]) and the XML didn't highlight the element names. By "didn't highlight" I mean no HTML tags wrapped that particular part of the paste so the highlighter doesn't see them as anything to be highlighted.
I'll have a proper look around this evening, hopefully.