Right, never mind. Found it on
http://www.xwiki.com/xwiki/bin/view/Doc/HowDoIEmbedXwikiCodeAsText
I was missing the backslashes to display the variable.
- Mark
-----Original Message-----
From: Lichman, Mark Eugene
Sent: Tuesday, July 19, 2005 11:36 AM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] Syntax for displaying code
How can all code be displayed without being interpereted?
I have tried the {code:xml} {code} tags with some success but, velocity script
still get's interpereted (I have tried documenting in my local wiki that the
line #set($showtoolbar = $xwiki.getWebPreferenceAsInt("showtoolbar",1) == 1 was
commented out from view.vm but, this line does not seem to get displayed in the
wiki at all}.
Thanks,
- Mark Lichman