Way that allows 'copy-to-clipboard' code to not execute upon paste? #1294
-
As per title. I love the functionality and I am looking for a way that allows copied one-liners to not execute upon paste. I understand it might get tricky with multiple line code blocks but should be achievable for single lines, right? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I've opened #1295 to track this as I agree this is something we should not be doing, especially for one liner bash scripts. Poking around, it looks like the issue is mostly just that hitting the copy button (currently) always has a newline at the end of the content which is a result of the markdown -> html process, and is easy to fix for the upcoming 2.8.0 release. |
Beta Was this translation helpful? Give feedback.
I've opened #1295 to track this as I agree this is something we should not be doing, especially for one liner bash scripts. Poking around, it looks like the issue is mostly just that hitting the copy button (currently) always has a newline at the end of the content which is a result of the markdown -> html process, and is easy to fix for the upcoming 2.8.0 release.