So I'm working on a script that incorporates processing of a template and substituting tags with other data. The problem is that none of the template modules I can find involve callbacks - what I want is a function where I can feed in the template plus a function reference. The custom function would simply return the substituted text after arbitrary processing.
Snippets of code should be wrapped in
<code> tags not<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor