[ZPT] Re: Show ZPT Code

Will Smith witisi at yahoo.com
Tue Jul 13 15:06:30 EDT 2004


Dieter Maurer wrote:

> Will Smith wrote at 2004-7-13 10:25 -0400:
> 
>>...
>>  <p tal:content="here/my_template"></p>
>>
>>   again works fine unless the template has tal expressions
> 
> 
> I have the impression that you are interested in the source code, right?
> 
Yes

> In this case, use its "document_src" method.
> 

That works great for an entire document.  How would I go about 
publishing just a line or two of code.  Creating seperate files for each 
"snippet" would work, but kinda painful.

Thanks,
Will Smith



More information about the ZPT mailing list