logo       

Custom Directive Delimiter: msg#00043

python.cheetah

Subject: Custom Directive Delimiter

Hi,

I'm trying code generation with Cheetah. I have to say it's a pleasure compared to XSLT! ;)

One thing that would help is replacing the default '#' directive tag. It'd save me the worry of escaping all my C++ \#include if I could set Cheetah to @include instead.

You mention it can be customized.

-- From the Guide --
> Note: you can customize the start and end delimeters for placeholder
> and directive tags, but in this Guide we'll assume you're using the
> default.


How is this done? I can't find much on the subject in the documentation.

Thanks,
Alex



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise