Use case

You need to add a line break.

Solution

  1. Switch the page to the edit mode.

  2. Insert the Table Transformer macro and paste the table or the macros outputting tables within the macro body.

  3. Select the macro and click Edit.

  4. In the Presets  tab select Custom transformation  and click Next.

  5. Enter the following SQL query:

    SELECT FORMATWIKI(T1.'Name', " \n" , T1.'Surname') AS 'Representative 1', FORMATMARKDOWN(T1.'Name', " \n", T1.'Surname') AS 'Representative 2', FORMATWIKI(T1.'Name', " \\ ", T1.'Surname') AS 'Representative 3' FROM T1
    SQL

    Three alternative ways of adding line breaks are shown in the SQL query.

  6. Click Next

  7. Define the table settings and view options if needed. 

  8. Save the macro and the page.