[pmwiki-users] Marking up the markup

DaveG pmwiki at solidgone.com
Mon Apr 23 19:43:48 CDT 2007


Excellent, thanks. Research also provide this alternative:
* %apply=list class=my_class% test List

and to apply the class to a specifc list item:
* %apply=item class=my_class% test List

REF: http://pmwiki.com/wiki/PmWiki/WikiStyles#Blocks

  ~ ~ Dave

Petko Yotov wrote:
> 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
> 
> 
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> 



More information about the pmwiki-users mailing list