summaryrefslogtreecommitdiff
path: root/MANUAL.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-12-12 15:16:16 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2017-12-12 15:16:16 -0800
commite86c337356fc723e366e5f0d6209205bcffe88f3 (patch)
tree69b956db208aa9f687d8d6582ce08b00214f3e08 /MANUAL.txt
parent7d23031b904d9371de8ce9ffe943e426bd5056c8 (diff)
Pipe tables: use full text width for tables with wrapping cells.
Previously we computed the column sizes based on the ratio between the header lines and the text width (as set by `--columns`). This meant that tables with very short header lines would be very narrow. With this change, pipe tables with wrapping cells will always take up the whole text width. The relative column widths will still be determined by the ratio of header lines, but they will be normalized to add up to 1.0.
Diffstat (limited to 'MANUAL.txt')
-rw-r--r--MANUAL.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 29fc629cd..9fd0e3381 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -2637,7 +2637,10 @@ and lists, and cannot span multiple lines. If a pipe table contains a
row whose printable content is wider than the column width (see
`--columns`), then the cell contents will wrap, with the
relative cell widths determined by the widths of the separator
-lines.
+lines. (In this case, the table will take up the full text
+width.) If no lines are wider than column width, then
+cell contents will not be wrapped, and the cells will be sized
+to their contents.
Note: pandoc also recognizes pipe tables of the following
form, as can be produced by Emacs' orgtbl-mode: