[Solar-talk] Solar_Markdown: 'Paragraph' plugin dependency

Paul M Jones pmjones at ciaweb.net
Mon May 28 16:19:34 PDT 2007


On May 6, 2007, at 4:36 PM, Rodrigo Moraes wrote:

> I was expecting that the plugins commented as 'pre-processing on the
> source as a whole' ('Prefilter' and 'Plugin_StripLinkDefs') would be
> the only required ones, but actually only the 'Paragraph' is required
> to process, for example, my 'Widget' plugin [1]. It's the only
> dependency, and as I don't really need paragraph conversion in the
> parsed text, I created a simplified version of it, without the
> paragraphs inclusion, and it works fine.

Sorry for the confusion.  Technically, each plugin can hook into each  
stage of processing, but it's rare for a plugin to actually need to.   
The "prefilter" plugin, for example, only sees activity in the  
preparation stage, whereas some other plugins see activity in 2 or  
more stages.  "Paragraph" is one of those.




--

Paul M. Jones  <http://paul-m-jones.com>

Solar: Simple Object Library and Application Repository
for PHP5.  <http://solarphp.com>

Join the Solar community wiki!  <http://solarphp.org>

Savant: The simple, elegant, and powerful solution for
templates in PHP.  <http://phpsavant.com>




More information about the solar-talk mailing list