Documentation > Syntax
#rep repeats the given code block a given number of times.
#def GREETING(message) #rep 3 ${message} #endrep #enddef Print a total of 6 greetings: #rep 2 ${GREETING("Hello, world!")} #endrep