[ZPT] Show ZPT Code

Will Smith witisi at yahoo.com
Tue Jul 13 09:23:57 EDT 2004


Is thier a way in ZPT to show code.  Basically I have a pretty rough 
site for developement.  I would like to create a page that I can place 
certain snippets that would render correctly in a browser.

For example:

The Code

	<p>Title Code</p>
	<some tag>
	  <title tal:content="here/title">Page Title</title>
	</some tag>

becomes

         <p>Title Code</p>
         &lt;title tal:content=&quot;here/title&quot;&gt;Page 
Title&lt;/title&gt;

Renders in browser as
	Title Code
	<title tal:content="here/title">Page Title</title>



Thanks in advance
Will Smith



More information about the ZPT mailing list