[pmwiki-users] Includes in practice

Simon s-i-m-o-n at paradise.net.nz
Wed Feb 23 11:36:21 CST 2005


No worries. Thanks, Brilliant.
Now added to
http://www.pmwiki.org/wiki/PmWiki/IncludeOtherPages

Patrick R. Michaud wrote:

>Oh, I'm so sorry, I gave the markup wrong.  It should be:
>
>     Markup('includefile', 'directives',
>       '/\\(:includefile\\s+([-\\w.]+)\\s*:\\)/e', "Keep(implode('',
>
>where the second '+' is inside the parenthesis.  I also added a \\s*
>before the second colon, to grab any trailing spaces.  If you make this
>change, it should work with markup:
>
>    (:includefile webring.inc:)
>or
>    (:includefile webring.inc :)
>
>Pm
>
>  
>




More information about the pmwiki-users mailing list