Re: How to allow long table rows to break across pages in PDF output?

Posted by mojavelinux on
URL: https://discuss.asciidoctor.org/How-to-allow-long-table-rows-to-break-across-pages-in-PDF-output-tp7031p7440.html

> Long content in table does not break across pages in PDF

This is a hard can't fix in Asciidoctor PDF. In fact, it's now mentioned in the README (see https://github.com/asciidoctor/asciidoctor-pdf#known-limitations). It's a missing feature in prawn-pdf and its extremely complicated to fix given the current design of that software.

Here are my recommended workarounds:

* Take the code block out of the table
* Split the code block into smaller fragments
* Switch to asciidoctor-pdf.js (which is HTML-based, but still gives you a PDF)

Best,

-Dan

--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux