[pmwiki-users] custom markup order

noskule noskule at gmx.net
Sat Jul 12 07:54:03 CDT 2008


Patrick R. Michaud schrieb:
> On Fri, Jul 11, 2008 at 01:48:56PM +0200, noskule wrote:
>   
>> hi list
>> I try to build a markup which should be executed after link processing. 
>> So I process it in the block phase. The problem is, that pmwiki does not 
>> recognice the markup if it is not in one line. If I process the markup 
>> in the split phase it works.
>>
>> Does anyone see the problem?
>>     
>
> Multi-line markups where a single pattern processes multiple lines
> must be performed prior to the 'split' phase (normally in 'fulltext').
> Otherwise, the multi-line markup has to be able to keep track
> of the start and end markers occurring over multiple rule
> applications.  For an example of the latter, see how the (:div:)
> markups are processed.
>
> Pm
>
>   
hm, i did find the table markup in stdmarkup.php which handles div and 
calls de function cells. But this code is above my php knowledge. Is 
there more simple example somewhere how to  "be able to keep track of 
the start and end markers occurring over multiple rule applications"

thanks nos



More information about the pmwiki-users mailing list