TSV: -f tsv -t commonmark_x
: table header, align columns |
, alignment of data in particular columns
#9769
Replies: 1 comment
-
Currently the code has toHeaderRow l = [toRow l | not (null l)] but I don't think it's actually possible to create a null row in CSV (a row with no cells). So this was the intended method, but it doesn't work. I suppose we could change this so that if the first row contains only empty cells, we get a header-less table? An approach that could work currently is to use a Lua filter to rearrange things.
You could use a Lua filter to insert a header.
We used to do this in every case, but we recently changed things so that the alignment only happens if the rows are <= COLUMNS. Trying to align very long lines just produces a mess. You can use
You can adjust these things with a Lua filter, but there's no way to control it using the TSV reader itself. |
Beta Was this translation helpful? Give feedback.
-
I have following questions about, rendering commonmark_x from TSV
Header
Alignment
Sample Data
Beta Was this translation helpful? Give feedback.
All reactions