I use Pandoc to create markdown-> DOCX documents with lots of tables, but itβs better to control the layout.
Now I am trying to output markdown-> PDF, but ran into problems with the output of the table.
In DOCX, long lines of text are simply broken into multiple lines. This does not happen in the PDF; a line is always a single line, which does not wrap on the right side, but continues outside the page. The normal text of the paragraph is right-aligned, so the problem is probably not the page size.
Markdown example:
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.
PDF result 
How to enable string wrapping in PDF tables?
pdf-generation latex pandoc
Karl Ivar Dahl
source share