# flask 3.1.3 (BSD-3-Clause), harvested by tools/harvest_corpus.py
=== input
A decorator that is used to register custom template filter.
        You can specify a name for the filter, otherwise the function
        name will be used. Example::

          @app.template_filter()
          def reverse(s):
              return s[::-1]

        :param name: the optional name of the filter, otherwise the
                     function name will be used.
        
=== parse rest
short_description: |
  A decorator that is used to register custom template filter.
  You can specify a name for the filter, otherwise the function
  name will be used. Example::
long_description: |
    @app.template_filter()
    def reverse(s):
        return s[::-1]
blank_after_short_description: True
blank_after_long_description: True
style: rest
- DocstringParam
  description: |
    the optional name of the filter, otherwise the
    function name will be used.
  kind: param
  key: 'param'
  arg_name: 'name'
  is_optional: False
=== detect
rest
=== compose rest
A decorator that is used to register custom template filter.
You can specify a name for the filter, otherwise the function
name will be used. Example::

  @app.template_filter()
  def reverse(s):
      return s[::-1]

:param name: the optional name of the filter, otherwise the
    function name will be used.
