Smart one-click copy-to-clipboard for interactive-session code blocks
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=480382) </details> <!--IssueSummary end--> ### Proposal For code bloc describing interactive session (like shell-session), the one-click copy-to-clipboard button copies only the command part of the text, filtering the prompt and response parts. We could have two buttons to keep the original feature, or a shift/alt-click to get the whole text, or maybe use the html-like clipboard content to mark usefull text so that the terminal emulator can do the filtering. I must confess, I didn't do much research to see if that behavior is already supported by some terminal emulators / interpreters.
issue