From: EdePopede Date: Wed, 11 Feb 2015 16:44:27 +0000 (-0400) Subject: created: observation + samples X-Git-Tag: debian/3.20150329~84 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/b6a9e66cab037cee382a4e164b417133f5f8f140?ds=sidebyside created: observation + samples --- diff --git a/doc/forum/tables_with_1_cell_in_1st_row.mdwn b/doc/forum/tables_with_1_cell_in_1st_row.mdwn new file mode 100644 index 000000000..95b076da5 --- /dev/null +++ b/doc/forum/tables_with_1_cell_in_1st_row.mdwn @@ -0,0 +1,120 @@ +Just found a bug while building a table with 1st column made of the lines output by ls -1. That means, in the beginning there's only 1 cell in each row, and if adding additional columns in other rows, the delimiter ('|') is taken as-is. No difference if the table has a header line or not, or if that one cell is following a '|'. + +Examples: + + +### 2 cells each + +table with header + +[[!table data=""" +1 | 2 +one | two +a |b +"""]] + +table without header + +[[!table header="no" data=""" +1 | 2 +one | two +a |b +"""]] + +### 2 cells, 3 later + + +table with header + +[[!table data=""" +1 | 2 +one | two +a |b | c +"""]] + +table without header + +[[!table header="no" data=""" +1 | 2 +one | two +a |b | c +"""]] + +### 1 cell, 3 later + + +table with header + +[[!table data=""" +1 +one | two +a |b | c +"""]] + +table without header + +[[!table header="no" data=""" +1 +one | two +a |b | c +"""]] + +### 1 cell (ended by delimiter), 3 later + + +table with header + +[[!table data=""" +1| +one | two +a |b | c +"""]] + +table without header + +[[!table header="no" data=""" +1| +one | two +a |b | c +"""]] + +### 1 cell (line starts with delimiter), 3 later + + +table with header + +[[!table data=""" +|1 +one | two +a |b | c +"""]] + +table without header + +[[!table header="no" data=""" +|1 +one | two +a |b | c +"""]] + +### 1 cell (line starts with SPC + delimiter), 3 later + + +table with header + +[[!table data=""" + |1 +one | two +a |b | c +"""]] + +table without header + +[[!table header="no" data=""" + |1 +one | two +a |b | c +"""]] + + +  -- EdePopede (poor man's signature)