You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Copying text from inline code in the Markdown editor includes the backticks #4269
Copying a selection that lies entirely inside inline code in a .md file puts the code span's Markdown on the clipboard (text/plain), including the backticks. Pasted into a shell, the backticks are treated as command substitution, so the copied command runs and its output is then executed as another command.
Copying from inside a code block already gives the raw text without fences (#3969). Inline code should behave the same way.
Reproduction Steps
Create a .md file with this content:
Run `pnpm install` now.
Select only pnpm install (inside the code span) and copy it.
Activity