15 Jan
2010
15 Jan
'10
8:33 a.m.
Hi Guys, What is the wiki syntax for display code in a page. Here is an example of what i would like to do. Look at this page http://15black.bluedepot.com/styles/tiddlypedia.htm , Look at the TiddlyPediaPackage section half way through the page. The syntax to achieve that is as simple as typing this {{{ HTML Structure var sidebar = document.getElementbyId('sidebar') }}} I tried to do the same for xwiki pages but it dont work. I think it is possible to do it using the "code" macro but this only works when you use the WYSIWYG editor. It doesnt work in WIKI edit mode. Is there a simple syntax that i can use to achieve this? Thanks