Edgewall Software

Ticket #283 (new enhancement)

Opened 21 months ago

Last modified 7 months ago

Allow for redefinition of template syntax per-file

Reported by: dclark@… Owned by: cmlenz
Priority: minor Milestone: 0.7
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.

Attachments

Change History

Changed 21 months ago by dclark@…

  • keywords syntax tokens redefine escape added

Changed 7 months ago by cmlenz

  • milestone changed from 0.6 to 0.7

Add/Change #283 (Allow for redefinition of template syntax per-file)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from cmlenz. Next status will be 'new'
The owner will change from cmlenz to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.