Wikipedia talk:WikiProject C/C++/Syntax highlighting

Latest comment: 17 years ago by Quuxplusone

Embending HTML into wiki markup makes it look more cluttered and difficult to edit. It may be useful to devep MediaWiki extension which would use something like GeSHi - Generic Syntax Highlighter. (Provided that administrators/stevards would accept such code on production system.) --Alvin-cs 16:07, 18 May 2006 (UTC)Reply

I agree that font soup is awful, and HTML soup is just as bad. We want to be able to cut-and-paste code to and from Wikipedia without having to HTMLify it, because (as all programmers know) extra typing means extra bugs. For some reason, I support the Pascal convention of bolding keywords ("function foo(var x: integer); begin ...") in Pascal, but I can't stand it in C-family languages. And <font> tags are orders of magnitude more intrusive than triple apostrophes. Plain text for code samples! --Quuxplusone 09:09, 4 December 2006 (UTC)Reply