Empty Table Cells in Pier

The syntax for Pier allows tables to be created by starting a line with a bar, like:

|!Table Header
|Table Data

and it looks like:

Table Header
table data

Dealing with empty table cells is not too straightforward. In Pier 3.1, it was possible to simply add an empty space, like:

|next cell is empty| |the last cell had a space before editing

However for Pier 3.2, the spaces are removed when editing, so the above turns into:

|next cell is empty||the last cell had a space

and is displayed as a table to 2 cells (the second cell's text is centered). For now it appears that using a dash may be a good convention, like:

|Middle cell should be empty||-|Second cell had a dash

which is displayed as:

Middle cell should be empty-Second cell had a dash

Posted by John Borden at 12 December 2018, 3:39 pm link