[pmwiki-users] Strip markup to generate plain text

Hans design5 at softflow.co.uk
Wed Feb 13 04:11:11 CST 2008


Wednesday, February 13, 2008, 9:43:24 AM, Peter & Melodye Bowers wrote:

> If you are looking for plain text with markup stripped out then you may want
> to look into Hans's ExtractText with the markup=snip option.  You could
> "search" for "." (i.e., return every line) and specify markup=snip so that
> you got markup simply deleted.

It is TextExtract: http://www.pmwiki.org/wiki/Cookbook/TextExtract

There is no option markup=snip, but a markup=cut option.
This will cut out lines which have directives of syntax (:....:)
in them. It does not clean out wiki markup. Inluine and link markup
etc. are preserved and active.

I have not got a strip-bare-of-wiki-markup option.


  ~Hans




More information about the pmwiki-users mailing list