[Zope-PTK] PRE tag in structured text

Tres Seaver tseaver@digicool.com
Mon, 12 Feb 2001 07:27:25 -0500


Priya Ramkumar wrote:
> 
> Hi
> 
> Can anyone please tell me how to represent a PRE tag and line breaks in
> Structured Text?

Like this::

  This form is haiku
  But doesn't mention nature.
  I am unworthy.

The "::" at the end of a paragraph says that preformatted stuff
follows;  the only caveat is that the preformatted stuff needs
to be indented from its introducing paragraph.

See http://www.zwiki.org/StructuredText for more fun and games with
STX.  See also http://cvs.zope.org/Zope2/lib/python/StructuredText
to read the source online.

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@digicool.com
Digital Creations     "Zope Dealers"       http://www.zope.org