-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explore print.css #605
Comments
Depending on how much work we want to put into it, there is: |
I had a very cursory look at this, reporting below for anyone who's interested in tackling this 🙂 It seems that the biggest bulk of work will be in handling the styling of iframes (such as the output of livebook/assets/js/hooks/js_view.js Line 183 in 52f7d74
The above assumes that we'd not be using some fancier tooling for generating as-seen-in-the-browser documents for printing, as brought up by José above :). If an additional tool of some sort is used, the work with iframes can probably be sidestepped (at the cost of not having browser-native print support). The "basic functionality" of print styling (as reported by the linked issue) in a way that enables printing the text-based (or any non-absolutely-positioned) contents in full should be achievable with a few lines of CSS in The main points of interest in getting the basic printing to behave correctly are 1) hiding the navigation/floating elements with a simple |
Thank you @juhalehtonen! There is also a related issue in #1159, where for complex printing we would rely on Pandoc and then get support on all of its outputs. In that case, we would have print.css only for the basic, in browser use cases, as you mentioned. |
Today we cannot print Livebooks. We should explore making them printable via a print media query.
The text was updated successfully, but these errors were encountered: