pandoc/test/command/4320.md
Francesco Occhipinti e5845f33ad Don't wrap lines in grid tables when --wrap=none (#4320)
* Annotate gridTable code with comments and abstract small functions
* Don't wrap lines in tables when `--wrap=none`.  Instead, expand cells, even if
   it results in cells that don't respect relative widths or surpass page column width.
* This change affects RST, Markdown, and Haddock writers.
2018-03-17 20:31:43 -07:00

519 B

% pandoc -f native -t rst --wrap=none
[Table [] [AlignDefault,AlignDefault] [0.47368421052631576,0.5263157894736842]
 [[Plain [Str "one"]]
 ,[Plain [Str "two"]]]
 [[[Plain [Str "ports"]]
  ,[BlockQuote
    [Para [Strong [Str "thisIsGoingToBeTooLongAnyway"]]]]]]]
^D
+-------+--------------------------------------+
| one   | two                                  |
+=======+======================================+
| ports |     **thisIsGoingToBeTooLongAnyway** |
+-------+--------------------------------------+