Send code to Linux clipboard when a slide with code is shown.
Additional notes
It would make for a nice workflow I think. Open two panes in Terminator, one with a presentation, the other one with a repl.
show slide, code gets copied, talk a little
switch panes, paste the code, execute, talk some more
switch back and repeat
I actually tried to make a plugin overriding the code rendering function: send the contents to clipboard using pyperclip and raise the exception to resume rendering. But it doesn't seem to work, if I have say 5 slides with code only the first and the last get copied.
Describe the Feature Request
Send code to Linux clipboard when a slide with code is shown.
Additional notes
It would make for a nice workflow I think. Open two panes in Terminator, one with a presentation, the other one with a repl.
I actually tried to make a plugin overriding the code rendering function: send the contents to clipboard using pyperclip and raise the exception to resume rendering. But it doesn't seem to work, if I have say 5 slides with code only the first and the last get copied.