Village Pump:Home/Syntax Highlighting ( archived 2009-06-18 ): Difference between revisions
Content added Content deleted
(Whitespace highlighting problem, low priority) |
(→Update GeSHi: unrecognized language behavior) |
||
Line 123: | Line 123: | ||
:::::: Indeed, that was the problem. Changed. <nowiki><modula3></nowiki> should now work. But now the namespace seems to have conflicts. The contribution copyright warning seems to be being parsed as a language. This is the kind of thing I was worried about with the namespace pollution. Working on it... --[[User:Short Circuit|Short Circuit]] 00:04, 23 January 2009 (UTC) |
:::::: Indeed, that was the problem. Changed. <nowiki><modula3></nowiki> should now work. But now the namespace seems to have conflicts. The contribution copyright warning seems to be being parsed as a language. This is the kind of thing I was worried about with the namespace pollution. Working on it... --[[User:Short Circuit|Short Circuit]] 00:04, 23 January 2009 (UTC) |
||
::::::: Fixed. Apparently, there's a language whose GeSHi tag would be <div>. --[[User:Short Circuit|Short Circuit]] 00:22, 23 January 2009 (UTC) |
::::::: Fixed. Apparently, there's a language whose GeSHi tag would be <div>. --[[User:Short Circuit|Short Circuit]] 00:22, 23 January 2009 (UTC) |
||
:The failure mode for an unrecognized language is pretty annoying: the code itself is replaced with an unsorted list of available languages. Could this be fixed to just show the code in a PRE block? This way we can start using CODE tags for ''all'' languages now, and they'll be automagically formatted when language support is added. --[[User:IanOsgood|IanOsgood]] 18:21, 24 January 2009 (UTC) |
|||
==Whitespace== |
==Whitespace== |
||
If anyone ever feels like putting whitespace code on here (unlikely but possible) they may have trouble highlighting it: |
If anyone ever feels like putting whitespace code on here (unlikely but possible) they may have trouble highlighting it: |