Thanks Volker and Evelyn. Basically, We've installed the SyntaxHighlight_GeSHi extension on our wiki. SyntaxHighlight doesn't appear to render properly -- I think that has to do with what Volker said about larger portions of syntax- highlighted source code. But <source> does render properly, so thank you both.
Guy On Apr 7, 12:54 am, "Evelyn Yoder" <[email protected]> wrote: > This combination of extensions might be a good solution: > > Try the SyntaxHighlight GeShi extension for code formatting - it > accommodates many language formats with appropriate color > coding:http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi > > And to apply the <syntaxhighlight ...> tag in place of <code>, try > this:http://www.mediawiki.org/wiki/Extension:Replace_Text > > Both work well for me. > Evelyn > +++++++++++++http://appsWhisperer.com > > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of > > Guy Y > Sent: Tuesday, April 06, 2010 7:32 AM > To: mwlib > Subject: [mwlib] <code>[javascript,N] > > Hi, > > We use a lot of code on our wiki (it's a software documentation wiki) that > was previously within <code>[javascript,N]</code> tags. These don't render > properly at all in the printed version; there are no carriage returns, no > coloring, and the [javascript,N] is displayed within the <code> tag. <pre> > tags render okay (without color, of course), but it'd be a huge pain to go > back and change all of those code blocks. > > Has anyone encountered this before or know of a solution? > > Thanks, > > Guy Yedwab > > -- > You received this message because you are subscribed to the Google Groups > "mwlib" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/mwlib?hl=en. -- You received this message because you are subscribed to the Google Groups "mwlib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/mwlib?hl=en.
