Skip to content
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

Support printing (to physical paper) #565

Open
dbp opened this issue Dec 5, 2024 · 4 comments
Open

Support printing (to physical paper) #565

dbp opened this issue Dec 5, 2024 · 4 comments

Comments

@dbp
Copy link
Collaborator

dbp commented Dec 5, 2024

Right now, there doesn't seem to be a great way to print files out. Ideally, the print css would have just the definitions panel, and would have the whole file.

Obviously I can download and print using any number of other programs, but they are less likely to have good syntax highlighting, and it seems like something CPO could support!

I've tested this in Chrome, in case there is a mechanism that works in other browsers.

@jpolitz
Copy link
Member

jpolitz commented Dec 5, 2024

Oh fascinating, good request. This ought to be doable.

@asolove
Copy link
Contributor

asolove commented Feb 25, 2025

Having it just print the definitions text is not hard in css.

But I am curious if there are use-cases where someone would want to print the repl output instead, or in addition.

@blerner
Copy link
Member

blerner commented Feb 25, 2025

Teachers very likely would, for lecture notes.

@dbp
Copy link
Collaborator Author

dbp commented Feb 25, 2025

Probably it would be good to also support hiding interactions (I just created this as #583); then the print should just show whatever is visible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants