Copy Code Line without Extra New Line

If you click on the copy code line, an extra new line is added which is quite annoying if it is a terminal command with placeholders a user might want to modify before running them. If you copy and paste it in a terminal, the extra new line runs the command before you get a chance to run it.

Here is an example of this:


Please authenticate to join the conversation.

Upvoters
Status

Completed

Board
💡

Feature Request

Subscribe to post

Get notified by email when there are changes.