As of FreeMarker 2.3.23, you can use camel case instead of
all-lower-case for directive names, like noParse
instead of noparse
. But know that then within the
same template, FreeMarker will enforce the usage of camel case for
all identifiers that are part of the template language (user defined
names are not affected).
- assign
- attempt
- autoesc
- break: in switch, in list
- case
- compress
- continue
- default
- else: in if, in list
- elseif
- escape
- fallback
- function
- flush
- ftl
- global
- if
- import
- include
- items
- list
- local
- lt
- macro
- nested
- noautoesc
- noescape
- noparse
- nt
- outputformat
- recover
- recurse
- return: in macro, in function
- rt
- sep
- setting
- stop
- switch
- t
- User-defined directive (<@...>)
- visit
If you don't find a directive here that you have seen in a working template, probably you will find it in: Deprecated FTL constructs