Page 1 of 1

Wiki <source> tag

Posted: Mon Jul 30, 2007 9:19 am
by shiznatix
So I have a wiki at work for all my work stuff and I am writing a documentation of all the code that runs on our site. I am trying to put in pages with source examples but of course it looks crappy. In wikipedia it shows the source blocks in tags <source lang="php"></source> or whatever language you might be displaying.

After coming up empty on google, I want to know how I can put this on my wiki so what is this extension of whatever called and where do I find it?

Posted: Mon Jul 30, 2007 9:20 am
by Chris Corbyn
What wiki do you use?

If nothing turns up it's actually extremely simple to wrap that around GeSHi.

Posted: Mon Jul 30, 2007 9:34 am
by shiznatix
I am using mediawiki

Posted: Mon Jul 30, 2007 11:06 am
by RobertGonzalez
I think mediawiki uses a GeSHi plugin to highlight source. Natively it does nothing more than wrap code in <code> tags. I think.