Andrea Rota wrote a generic perl module that can be used to convert
text from some markup to html using external text filters like deplate
.
This module helps with the setup of text filters: given a text processing tool (such as rest2html, rest2latex,
deplate
, etc.) TextPipe reads an input string, lets the text processing tool process text and returns marked-up output to calling application.This module was written mainly to allow non-Perl text processing tools to be used in Perl applications.
Be warned though that
deplate
If you find it useful, feel free to write the missing bits.
Download: