[ZPT] Re: Show ZPT Code

Dieter Maurer dieter at handshake.de
Wed Jul 14 15:01:05 EDT 2004


Will Smith wrote at 2004-7-13 15:06 -0400:
>Dieter Maurer wrote:
> ...
>> 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.

You can HTML quote the start tags. They then will look like

    <XXX tal:define="...">...</XXX>

If this is not what you want, you must *precisely* state
what you want. It is quite difficult to guess it...

-- 
Dieter


More information about the ZPT mailing list