No good printing for jupyter scripts?

I want to print some jupyter files. I am using vscode and windows 10.

First I export the file to HTML, and then open it with google chrome and then print it.

The problem is that in many cases, a long line of code is incomplete.

It is really disappointing that such a common demand cannot be met.

Export to pdf instead of html, that will add line breaks in the code. html is not a print format, and browsers are not particularly good for transforming html to usable print output.

1 Like

Many products/websites I have found, when they make HTML, they put the HTML into a fixed width table which results in your problem. This is why I never use fixed width tables. If I use tables at all I use variable width tables that adjust to the browser window width.

1 Like