Village Pump:Home/Syntax Highlighting ( archived 2009-06-18 )
I'm going to make some major changes to the Syntax Highlighting extension this weekend. Instead of denoting a block of C code as:
<C>(some code)</C>
Code will be denoted as:
<code lang="C">(some code)<code>
This will significantly clean up the Mediawiki extension namespace, and make formatting tricks with CSS easier. I'd rather create an attribute to <pre>, but that appears as though it could be more complicated. --Short Circuit 05:52, 2 July 2008 (UTC)
- Will we need to go and change all of the previous highlighting then? --Mwn3d 06:11, 2 July 2008 (UTC)
- Yes. Both approaches will be supported for a little while, I expect, but the current system will definitely be phased out. --Short Circuit 23:42, 2 July 2008 (UTC)