aboutsummaryrefslogtreecommitdiff
path: root/MANUAL.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-11-23 10:50:35 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2021-11-23 13:29:25 -0800
commit79e6f8db13ef8f0db6da8fe4e17b7626fe6ef3e9 (patch)
treea5bda1b7fe45b9ad5d58dd348ceb195c6d30aa93 /MANUAL.txt
parentb72ba3ed6dbf6de7ee23c8f5148648b599b49964 (diff)
downloadpandoc-79e6f8db13ef8f0db6da8fe4e17b7626fe6ef3e9.tar.gz
Improve detection of pipe table line widths.
Fixed calculation of maximum column widths in pipe tables. It is now based on the length of the markdown line, rather than a "stringified" version of the parsed line. This should be more predictable for users. In addition, we take into account double-wide characters such as emojis. Closes #7713.
Diffstat (limited to 'MANUAL.txt')
-rw-r--r--MANUAL.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 7e15e8833..0038f16cf 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -4055,12 +4055,12 @@ legal (though ugly) pipe table:
orange|3.09
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 Markdown content is wider than the column width (see
-`--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 lists, and cannot span multiple lines. If any line of the
+markdown source is longer than the column width (see `--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