stackedit
stackedit copied to clipboard
[Bug] Code blocks have scrollbars on printed pages
Expectation: Code blocks should add line breaks when printed so that all text is readable.
Actual: When a PDF or page is printed a scrollbar is displayed which cannot be scrolled on a printed page.
Hello! Printing web content accurately is always tricky, especially with overflow in code blocks. For the Markups project (https://github.com/Nir-Bhay/markups), we developed print-optimized CSS features that specifically target these layout issues. Our styles ensure that code blocks expand correctly on the page rather than showing scrollbars in the PDF or printout. You can check out our print styles here: https://github.com/Nir-Bhay/markups.