I want like C++ syntax highlighting added to the code BBC tag. Does such a mod exist? I read a little bit about this geisha thing, and it looks like you can't add it to a mod due to restrictive licensing on their part, so is there anything else?
SMF version 2.0.2
Well, [code] looks for <?php mixed in with the content, and calls a special function to highlight such sections of the content. [php] apparently just assumes everything is PHP, and calls the same "highlight" function. In order to do C++ (or any other language, for that matter), you'd have to have something like [code=cpp] or just [cpp] and model the code on the [php] processing. How much more complicated it would get for C++, and/or how incomplete it currently is for PHP, I can't tell you. The PHP highlighting function looks very simplistic at first glance. I haven't tried to understand it in detail.
Anyway, implementing a framework for this (and implementing a robust PHP processor) would make a nice project for someone. Hey, maybe we could encourage universities to assign these as student projects/thesis projects and incorporate the results into SMF? Anyone have an "in" with any good CompSci departments?