Inserting velocity macro output into wiki numbered lists (#)

Lijour, Marc (EDU) Marc.Lijour at ontario.ca
Thu Jan 4 19:56:54 CET 2007


Is there a way we can do something like the following?

#macro( print $stuff)
<span class="mystuffhere">$stuff</span>
#end

print=velocity:print:stuff

and somewhere in a list:

# apple
# oranges
# {print: "my preference goes to: "} mangos
# guanavana


When I tried it, it breaks the list and restarts numbering (although a
span is inlined).

Marc Lijour

 <<Lijour, Marc (EDU).vcf>> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xwiki.org/pipermail/users/attachments/20070104/0af980dd/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Lijour, Marc (EDU).vcf
Type: text/x-vcard
Size: 526 bytes
Desc: Lijour, Marc (EDU).vcf
Url : http://lists.xwiki.org/pipermail/users/attachments/20070104/0af980dd/attachment-0001.vcf 


More information about the users mailing list