pandoc/test/command/3348.md
John MacFarlane 7fbe473b2e Markdown reader/writer: spacing adjustments in tables.
* Markdown writer now includes a blank line at the end
  of the row in a single-row multiline table, to prevent it from being
  interpreted as a simple table.  Closes #4578.
* Markdown reader does a better job computing the relative width of
  the last column in a multiline table, so we can round-trip tables
  without constantly shrinking the last column.
2018-04-21 13:06:57 -07:00

17 lines
496 B
Markdown

```
% pandoc -t native --columns=72
----- ------------------------------------------------
foo bar
foo this is a long
line of text
----- ------------------------------------------------
^D
[Table [] [AlignRight,AlignLeft] [8.333333333333333e-2,0.6805555555555556]
[[]
,[]]
[[[Plain [Str "foo"]]
,[Plain [Str "bar"]]]
,[[Plain [Str "foo"]]
,[Plain [Str "this",Space,Str "is",Space,Str "a",Space,Str "long",SoftBreak,Str "line",Space,Str "of",Space,Str "text"]]]]]
```