On Oct 17, 2007, at 8:14 AM, zunzun wrote:
I'm trying to add a code section to
http://wiki.pylonshq.com/display/pylonscommunity/Adding+graphical
+output
and if I use the wiki {code} tags, it tries to display an image.
At the very bottom of the page, you can see where I used HTML code
tags, since these render properly.
Any advice on how to have the wiki render image tags in {code}
sections? I did not see it in the wiki docs.
{code:html} should work
A {code} block without specifying the language tries to auto detect
the type of source code, but the detection routine is very limited.
It's not detecting that you wanted the html highlighting, just like
it didn't detect the other code blocks on that page are python
(change those to {code:python} for highlighting to show up).
You shouldn't really ever use {code} without specifying the langugage.