DEV Community

Marco Kamner
Marco Kamner

Posted on • Originally published at blog.marco.ninja on

GitLab Copy & Paste: Added Backticks

Problem

When copying (using either select and copy or the copy icon) a line of code like

atlantis apply
Enter fullscreen mode Exit fullscreen mode

and then pasting it into GitLabs comment field the contents get enclosed in backticks like `atlantis apply`

Solution

GitLab tries to be helpful and adds that to make pasting with formatting (the default on all modern systems) easier.

in this case we need it without formatting, so doing a paste without formatting works.

On MacOS: Shift + Command + V

On Windows/Linux: Ctrl + Shift + v

Read more

Top comments (0)