Optional
linebreakWhether to break lines for each template slot. Overridden by linebreakPredicate.
Note that if this option is specified, all trailing \n
s are first removed, and it is then evaluated whether to
add an \n
at the end of the slot.
Optional
linebreakPut a new line in accordance with this predicate. Prioritized than linebreak.
Note that if this option is specified, all trailing \n
s are first removed, and it is then evaluated whether to
add an \n
at the end of the slot.
Whether to put a new line after each template argument. \n
is added if the callback is true.
Whether to put a new line after the first template slot for the name. \n
is added if the callback is true.
The template's name in accordance with RenderOptions.nameprop.
Optional
namepropUse the template name of this format. See Template.getName for details.
Optional
sortCallback function to Array.prototype.sort, called on the Template.args array before stringifying the template arguments.
Optional
substWhether to add subst:
before the template name.
Optional
unformattedGenerated using TypeDoc
The option object passed to Template.render.