[Zope-CMF] Example dtml code in document

J. Cameron Cooper jccooper@rice.edu
Thu, 02 Aug 2001 09:21:20 -0500


>
>
>I have also found a how to on zope.org telling me how to make structured text 
>to write example code - not interprent it.
>
The 'single quote' notation only works for "inline" code, and puts a 
<code> tag around it. If you want to do the equivalent of a <pre> tag, 
you use the two-colon notation.

It works like this::

       you put two colons, a line, and indent to get
       multiline sample code.
  you can even do strange stuff like this.

Or, you can insert HTML into the STX.

<pre>
This code will
                 be interpretted literally.
</pre>

            --jcc
       (crackpottery)