Village Pump:Home/Syntax Highlighting ( archived 2009-06-18 ): Difference between revisions
Content added Content deleted
m (syntax highlighting changes) |
(Old highlighting?) |
||
Line 8: | Line 8: | ||
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. --[[User:Short Circuit|Short Circuit]] 05:52, 2 July 2008 (UTC) |
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. --[[User:Short Circuit|Short Circuit]] 05:52, 2 July 2008 (UTC) |
||
:Will we need to go and change all of the previous highlighting then? --[[User:Mwn3d|Mwn3d]] 06:11, 2 July 2008 (UTC) |
Revision as of 06:11, 2 July 2008
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)