Does anyone have an example of defining a new filter and using it in a
theme HTML file as shown below?
{% filter myFilter %}
{{ some_string }}
{% endfilter %}
I think I'm close but just need to find the right location for a
statement like:
xxxx.templates.environment.filters['myFilter'] = myFilter
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.