docusaurus-pdf
docusaurus-pdf copied to clipboard
[feat]: Create one page PDF
It may look better not to create multiple PDF pages.
Image like the below looks bad.
This can be helpful as an additional feature, but I would not replace the current standard with it.
A one-sided PDF with a very large height is difficult to handle in some PDF viewers. The main intention behind PDF is to be a printable file format, isn't it? If we keep the width of a conventional document (e.g. A4), but assume a non-standard value for the height, there will be formatting problems when printing.
Wouldn't it be the cleanest to work with appropriate CSS rules that prevent page breaks in certain blocks? However, this would of course have to be defined by the user of the application or by the owner of the website, since the same behavior will not always be desired for page breaks.