OSDev.org

The Place to Start for Operating System Developers
It is currently Sun Apr 28, 2024 3:11 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Source highlighting
PostPosted: Sat May 09, 2009 1:47 pm 
Offline
Member
Member

Joined: Sat Sep 08, 2007 11:26 pm
Posts: 143
Location: Canada
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?


Top
 Profile  
 
 Post subject: Re: Source highlighting
PostPosted: Sat May 09, 2009 5:08 pm 
Offline
Member
Member
User avatar

Joined: Fri Apr 18, 2008 4:40 pm
Posts: 1686
Location: Langley, Vancouver, BC, Canada
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


Top
 Profile  
 
 Post subject: Re: Source highlighting
PostPosted: Sat May 09, 2009 5:41 pm 
Offline
Site Admin
User avatar

Joined: Wed Oct 20, 2004 10:46 pm
Posts: 684
Location: Texas
Installed it and updated the docs about what versions of software we are using :)


Top
 Profile  
 
 Post subject: Re: Source highlighting
PostPosted: Sat May 09, 2009 5:49 pm 
Offline
Member
Member
User avatar

Joined: Fri Apr 18, 2008 4:40 pm
Posts: 1686
Location: Langley, Vancouver, BC, Canada
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


Top
 Profile  
 
 Post subject: Re: Source highlighting
PostPosted: Sat May 09, 2009 7:17 pm 
Offline
Member
Member

Joined: Sat Sep 08, 2007 11:26 pm
Posts: 143
Location: Canada
Awesome chase, you the man.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group