[dokuwiki] writing a syntax plugin
- From: domas <domas.m@xxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Tue, 19 Jun 2007 01:39:13 +0300
Hi,
I am trying to grasp development of dokuwiki plugins and have a few
questions:
if I wanted to write a container plugin with a more complex syntax:
<blockA>
<A>aaa</A>
<B>bbb</B>
</blockA>
is it better to add a single special pattern <blockA>.+?</blockA> or
have entry, exit and internal patterns?
Is there perhaps an example of such a plugin - I spent half an hour
searching but couldn't find anything.
And, continuing the topic of complex syntaxes, can a plugin store
information, collected during multiple handle(...) calls, when rendering
a single page? Like collect all the items in <blockA>, process them
(e.g. sort) and only then render.
Thanks in advance,
Domas
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: writing a syntax plugin
- From: Chris Smith
Other related posts:
- » [dokuwiki] writing a syntax plugin
- » [dokuwiki] Re: writing a syntax plugin
- » [dokuwiki] Re: writing a syntax plugin
- » [dokuwiki] Re: writing a syntax plugin
- [dokuwiki] Re: writing a syntax plugin
- From: Chris Smith