Source highlighting

All about the OSDev Wiki. Discussions about the organization and general structure of articles and how to use the wiki. Request changes here if you don't know how to use the wiki.
Post Reply
OrOS
Member
Member
Posts: 143
Joined: Sat Sep 08, 2007 11:26 pm
Location: Canada

Source highlighting

Post 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?
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Source highlighting

Post 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!)
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
User avatar
chase
Site Admin
Posts: 710
Joined: Wed Oct 20, 2004 10:46 pm
Libera.chat IRC: chase_osdev
Location: Texas
Discord: chase/matt.heimer
Contact:

Re: Source highlighting

Post by chase »

Installed it and updated the docs about what versions of software we are using :)
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Source highlighting

Post 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 :|
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
OrOS
Member
Member
Posts: 143
Joined: Sat Sep 08, 2007 11:26 pm
Location: Canada

Re: Source highlighting

Post by OrOS »

Awesome chase, you the man.
Post Reply