diff options
author | Mauro Bieg <mb21@users.noreply.github.com> | 2018-05-10 06:05:23 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-05-09 21:05:23 -0700 |
commit | b50205610465a38a05b9dc77b230deb478b61c8e (patch) | |
tree | 69b0e33fc1d3121765bb6632bd56cdf1ce5229bc | |
parent | d30fbc2879f58be7951eeb1cf8f9acfc83f1ebe6 (diff) | |
download | pandoc-b50205610465a38a05b9dc77b230deb478b61c8e.tar.gz |
MANUAL: clarify pipe table width calculation (#4630)
closes #4520
-rw-r--r-- | MANUAL.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/MANUAL.txt b/MANUAL.txt index 7a9871d8f..a363a20a7 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -2936,10 +2936,12 @@ legal (though ugly) pipe table: The cells of pipe tables cannot contain block elements like paragraphs 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. (In this case, the table will take up the full text -width.) If no lines are wider than column width, then +`--columns`), then the table will take up the full text width and +the cell contents will wrap, with the relative cell widths determined +by the number of dashes in the line separating the table header from +the table body. (For example `---|-` would make the first column 3/4 +and the second column 1/4 of the full text width.) +On the other hand, if no lines are wider than column width, then cell contents will not be wrapped, and the cells will be sized to their contents. |