Edgewall Software

Opened 13 years ago

Last modified 5 years ago

#283 new enhancement

Allow for redefinition of template syntax per-file

Reported by: dclark@… Owned by: cmlenz
Priority: minor Milestone: 0.9
Component: Template processing Version: 0.5
Keywords: syntax tokens redefine escape Cc:

Description

The Genshi syntax of using $text or ${text} is exactly the same syntax used by the bourne shell (bash sh etc) and close to that used by Make and the Makefile.

So if you want to for example template a Makefile that includes bourne shell code, you are going to end up having to do a lot of ugly stuff like $$$$ - see also #282.

It would be great if the syntax that Genshi uses for text templates could be redefined per-file like it can be for example with Cheetah (#compiler-settings). This would allow the user to choose syntax that does not conflict with the type of document the user is templating.

Change History (3)

comment:1 Changed 13 years ago by dclark@…

  • Keywords syntax tokens redefine escape added

comment:2 Changed 12 years ago by cmlenz

  • Milestone changed from 0.6 to 0.7

comment:3 Changed 5 years ago by hodgestar

  • Milestone changed from 0.7 to 0.9

Moved to milestone 0.9.

Note: See TracTickets for help on using tickets.