Village Pump:Home/Syntax Highlighting ( archived 2009-06-18 )

From Rosetta Code
Revision as of 05:52, 2 July 2008 by MikeMol (talk | contribs) (syntax highlighting changes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)