I am using Pandoc to generate markdown->DOCX documents with a lot of tables but would like better control over the layout.
I am now trying to output markdown->PDF as well, but have run into problems with table output.
In DOCX, long rows with text are simply broken up into multiple lines. In the PDF document this does not happen; a row is always a single line that do not wrap at the right margin but continue outside of the page. Normal paragraph text flows according to the right margin, so the problem is probably not the page size.
Example Markdown:
This is text that flows according to the page limits. This is text that flows according to the page limits. This is text that flows according to the page limits.
This is text that flows according to the page limits. This is text that flows according to the page limits.
| Version | Date | Comment |
|--------:|-------|---------|
| 1.0.0 | 07.04.2014 | This is a table row that does not flow with the page limits. This is a table row that does not flow with the page limits. |
| 2.0.0 | 07.04.2014 | This is a table row that does not flow with the page limits. This is a table row that does not flow with the page limits. |
This is text that flows according to the page limits. This is text that flows according to the page limits. This is text that flows according to the page limits.
This is text that flows according to the page limits. This is text that flows according to the page limits.
Resulting PDF
How do I enable line-wrapping in PDF tables?