Templater defines 3 types of opening tags, that defines 3 types of commands:
<%: Raw display command. It will just output the expression that's inside.
<%~: Interpolation command. Same as the raw display tag, but adds some character escaping.
The closing tag for a command is always the same:
In addition to the 3 different types of commands, you can also use command utilities. They are also declared in the opening tag of the command, and they work with all the command types. Available command utilities are: