in reply to Date-sensitive output with Template Toolkit

The only minor annoyance is that my editor of choice seems to think that the < sign there is the open character for an HTML tag. But that's really quite minor.

When you are trying to take advantage of an editor's highlighting for checking syntax it is a major nuisance.

However, TT has a solution! You can change the beginning and end tags for your templates. I would be suprised if your editor did not support basic ASP syntax detection so you can use '<%' and '%>' for your beginning and end tags. TT will allow you to set those tags to whatever you want though so if you are happier with something else you can use it.

Refer to http://www.template-toolkit.org/docs/plain/Manual/Config.html and look for TAG_STYLE

  • Comment on Re: Date-sensitive output with Template Toolkit