simov / markdown-viewer

Markdown Viewer / Browser Extension
MIT License
1.08k stars 135 forks source link

Last page is cropped on print #161

Open EuropeanDeveloper opened 2 years ago

EuropeanDeveloper commented 2 years ago

Sometimes, when a formatted markdown file is printed, the last page is cropped liked this:

picture

It happens only when there are 2 or more pages and it depends on a length of a file (sometimes when the length is "right" there is no problem, but sometimes a few lines are cropped or are missing).

Version: Markdown Viewer 4.0 Settings: Theme > wide (on) Browser: Mozilla Firefox 95.0

simov commented 2 years ago

Thanks for the feedback :+1:

simov commented 1 year ago

Can you try how it looks like in the latest Markdown Viewer v5.1 I cannot reproduce this on my end.

EuropeanDeveloper commented 1 year ago

Still the same behavior. You can use this test file: Print_Test.md

It will result in:

print_preview

Print settings: Orientation: Portrait Paper size: A4 Scale: Scale 100 Margins: Default Options: Disable Print headers and footers