Hallo!
I am trying to evaluate a few different wikis and cms for an internal information hub. Especially important for us would be the possibility to easily display source code from all kind of programming- and markup-languages without having to do much editing. Ideal would be some tag that tells the wiki to display the code as it is, into which we could simply paste the code from an IDE. I have played a bit with mediawiki and looked into the help pages but have so far found no feature that would support this. Can anybody help me with this?
Thanks,
Hans
On Tue, 08 Mar 2005, Dr. Hans M. Rupp wrote:
Hallo!
I am trying to evaluate a few different wikis and cms for an internal information hub. Especially important for us would be the possibility to easily display source code from all kind of programming- and markup-languages without having to do much editing. Ideal would be some tag that tells the wiki to display the code as it is, into which we could simply paste the code from an IDE. I have played a bit with mediawiki and looked into the help pages but have so far found no feature that would support this. Can anybody help me with this?
<pre> # your code here </pre>
should do the trick.
Hi Hans.
I've had the same problem and found an extension at http://www.wickle.com/wiki/index.php/Syntax_Highlight_extension
I've added a few bits of code to it to support cpp I think but that was straight forward. See an example at: http://ltilib.sourceforge.net/mediawiki-1.3.7/index.php/Sharpening
Looking for the link above I also found http://intheworks.biz/wiki/index.php/MediaWiki_Extensions which seems to support more languages.
Enjoy, Peter
On Tuesday 08 March 2005 14:24, Dr. Hans M. Rupp wrote:
Hallo!
I am trying to evaluate a few different wikis and cms for an internal information hub. Especially important for us would be the possibility to easily display source code from all kind of programming- and markup-languages without having to do much editing. Ideal would be some tag that tells the wiki to display the code as it is, into which we could simply paste the code from an IDE. I have played a bit with mediawiki and looked into the help pages but have so far found no feature that would support this. Can anybody help me with this?
Thanks,
Hans
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org