Guy Y wrote:
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?

In the english wikipedia the behaviour you describe is intended.
If you want to display larger portions of syntax-highlighted source code you should use the <source> tag instead.

See an example at: http://en.wikipedia.org/w/index.php?title=User:Volker.haas/Test&oldid=354324210

"Code" is a regular html tag that normally just renders with a monospace font.

Regards,
Volker



--
volker haas                 brainbot technologies ag
fon +49 6131 2116394        boppstraße 64
fax +49 6131 2116392        55118 mainz
[email protected]    http://www.brainbot.com/

--
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.

Reply via email to