[pmwiki-users] Definition Lists

DaveG pmwiki at solidgone.com
Sun Feb 12 17:17:53 CST 2006


Well it works until it hits a term starting with a number, or with more 
than one word. Anyone who understands regex help out? Ref 
http://mr2wiki.com/Main/WikiSandbox.

DaveG wrote:
> Here's what I used. Seems to work fine...
>     Markup('^terms:', 'fulltext',
>        '/^::(.*?):(.*?)$/i', '[[#$1]]<b>$1:</b> $2');
> 
>   ~ ~ Dave
> 
> DaveG wrote:
>> I'd like to extend the definition list formatting:
>>     :term:definition of term
>>
>> to include anchor links, and additional styling with output like:
>>     [[#term]]'''term''': definition of term
>>
>> what is the name of the markup I should be looking at? Would it be 
>> easier to simply define my own markup?
>>
>>   ~ ~ Dave
>>
>> _______________________________________________
>> pmwiki-users mailing list
>> pmwiki-users at pmichaud.com
>> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>>
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
> 




More information about the pmwiki-users mailing list