Page 1 of 1

Source highlighting

Posted: Sat May 09, 2009 1:47 pm
by OrOS
Unless I'm missing something the current wiki lacks the ability to highlight source code.

If possible, could http://www.mediawiki.org/wiki/Extension ... ight_GeSHi be installed?

Re: Source highlighting

Posted: Sat May 09, 2009 5:08 pm
by Troy Martin
Yes, we should install that extension. It has support for every OSDev language we cover, I think.

EDIT: wait, we need chase to upgrade MediaWiki, preferably to 1.14 (needs 1.10!)

Re: Source highlighting

Posted: Sat May 09, 2009 5:41 pm
by chase
Installed it and updated the docs about what versions of software we are using :)

Re: Source highlighting

Posted: Sat May 09, 2009 5:49 pm
by Troy Martin
CHASE LIVES!!!

Thanks for the install, chase! I'll take the liberties of starting to convert snippets to use source tags.

IMPORTANT EDIT: lang="asm" is Intel syntax asm, not GAS! As far as I can tell, there is no AT&T syntax assembly language highlighting in this extension!
EDIT2: No linker script highlighting either :|

Re: Source highlighting

Posted: Sat May 09, 2009 7:17 pm
by OrOS
Awesome chase, you the man.