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

Copying output of REPL #550

Open
warnerwarner opened this issue Jul 23, 2024 · 1 comment
Open

Copying output of REPL #550

warnerwarner opened this issue Jul 23, 2024 · 1 comment

Comments

@warnerwarner
Copy link

Hi,

I'm sorry if this has been asked before, but I can't seem to find anyone else who has mentioned this. Is it possible to put images or outputs of the repl into the kill ring to then yank in other documents?

Thanks

@gmoutso
Copy link

gmoutso commented Oct 7, 2024

For the case of copying images into the clipboard, I have the function gm/copy-image-to-clipboard in here. Most functions were copied/modified from ox-clip.el. It will copy the image at point into the clipboard (the output in the jupyter repl or an opened image file or an org-mode fragment, etc.). How you can paste it in emacs again is beyond this function, but see org-paste-link-xclip here.

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

No branches or pull requests

2 participants