docusaurus-pdf icon indicating copy to clipboard operation
docusaurus-pdf copied to clipboard

[feat]: Create one page PDF

Open kohheepeace opened this issue 4 years ago • 1 comments

It may look better not to create multiple PDF pages.

Image like the below looks bad. image

kohheepeace avatar Jun 16 '20 16:06 kohheepeace

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.

maxarndt avatar Jun 18 '20 06:06 maxarndt