The following directives are deprecated, but still working:
comment: This is the old format of
<#--...-->. Anything between the
</#comment>will be ignored.
foreach: it is a synonym of the
listdirective with slightly different parameter syntax. The syntax is
<#foreach item in sequence>that is equivalent with
<#list sequence as item>.
The following directives are not working anymore:
functionwas used to define macros, and was deprecated in favor of the
macrodirective. As of FreeMarker 2.3, this directive is reintroduced with different meaning: it is used to define methods.