2009/2/12 noskule <[email protected]>:
> hi all
> Is there a way to add a class to a wikilink like it can be done to a
> list? I need something like:
>
>    %item class=confirm-delete%[[Main.HomePage|Delete Test]]
>
> should render like
>
>    <a href=# class="confirm-delete wikilink" ....

You'll need to first add the following line to your config file:

$WikiStyleApply['a'] = 'a';

Once you've done that, you should be able to use the following to get
what you want:

%apply=a class='confirm-delete'%[[Main.HomePage|Delete Test]]

eemeli

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to