Text to HTML algorithm.

Steve Holden sholden at holdenweb.com
Wed Mar 27 15:53:09 EST 2002


"Gustavo Cordova" <gcordova at hebmex.com> wrote in message
news:mailman.1017254742.8781.python-list at python.org...
Howdy y'alls.

Does anybody have an implementation, or know of one,
to format plain text into HTML?

I need to preserve a minimum of structure, such as
wrapping <p>...</p> around paragraphs separated by
at least one empty line and detecting unnumbered
lists (at least).

The StructuredText module from Zope sounds like it will do exactly what you
want.

regards
 Steve







More information about the Python-list mailing list