23 Sep
2009
23 Sep
'09
12:35 p.m.
On Sep 23, 2009, at 11:18 AM, hel-o wrote:
Is there a possibility to associate style information with the new toc macro?
Tried
(% class="toc" %) {{toc start="5"/}}
and get
Not an inline macro
Right now it's not possible to pass params to macros. It's planned but not done: http://jira.xwiki.org/jira/browse/XWIKI-3237 You can watch and vote for this issue. What you can do though is this: {{box cssClass="floatinginfobox" title="**Contents**"}}{{toc start="2" depth="3"/}}{{/box}} or (% .... %)((( {{toc/}} ))) Thanks -Vincent