Command Reference CIB jsMerge

Functions

text(text)

The function text(text) copies the text read from the parameter “text” to the resulting document. The parameter can also be the return value of a function.
The text will be inserted with the same formatting options that are set for the start character (
{) of the corresponding script field.

Examples:

{# text(“Hello world”)}
{# text(ref(“myVariable”))}

Note:

If a text has multiple lines, it is possible to create new paragraphs using “\n”.