diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-12-03 11:02:45 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-12-03 11:02:45 -0800 |
commit | dd8df6cfbc07271f10f380620ecf8867bf3da8c3 (patch) | |
tree | bdaa52587a026471b47378ac4da5ae64d3c39402 /README | |
parent | e5c72caf29026d91a1ae6bae81d2304fecd40d80 (diff) | |
download | pandoc-dd8df6cfbc07271f10f380620ecf8867bf3da8c3.tar.gz |
Markdown reader: Improved pipe table relative widths.
Previously pipe table columns got relative widths (based
on the header underscore lines) when the source of one of the rows was
greater in width than the column width. This gave bad results in some
cases where much of the width of the row was due to nonprinting
material (e.g. link URLs). Now pandoc only looks at printable
width (the width of a plain string version of the source), which
should give better results.
Thanks to John Muccigrosso for bringing up the issue.
Diffstat (limited to 'README')
-rw-r--r-- | README | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -2254,9 +2254,10 @@ 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 that 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. +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. Note: pandoc also recognizes pipe tables of the following form, as can be produced by Emacs' orgtbl-mode: |