[pmwiki-users] Marking up the markup
Petko Yotov
5ko at free.fr
Mon Apr 23 19:06:40 CDT 2007
On Monday 23 April 2007 23:34, DaveG wrote:
> I want to produce this output from within a wiki page:
> <ul class="tabs-nav">
> <li><a href="#local_ref">text</a></li>
> </ul>
>
> The key being the class on the UL tag. Is it possible to use the normal
> "*" markup and specify a class, or is there an alternate way?
Yes:
* %list tabs-nav% [[#local_ref|text]]
* [[#local_ref_2|text 2]]
Or even, somewhere in the page:
%list class=tabs-nav define=nav%
* %nav% First list with class="tabs-nav"
* [[#local_ref|text]]
----
* %nav% A second list with the same class="tabs-nav"
* [[#local_ref_2|text 2]]
Petko
More information about the pmwiki-users
mailing list