Skip to content

Output

Output object supports output strings in text or Markdown format.

text

Prints the content of the passed variable as normal text. Code Syntax is ignored and just printed.

output.text(anything: String/Object/Array)

Example

const table = base.getActiveTable();
output.text(table.name);

markdown

Prints the content of the passed variable. Markdown formating is used to style the output.

output.markdown(anything: String/Object/Array)

Example

const table = base.getActiveTable();
output.markdown(`# This is a headline and prints the name of the table: ${table.name}`);