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 at http://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.
