Bug: "Copy code sample" includes dollar sign prefix and command output
The "Copy code sample" button copies more than just the code — it also includes the $ prompt prefix and any output printed below the command. It should only copy the code itself.
Steps to reproduce:
- Find a code block with a
$ prompt prefix and output, e.g.:
- Click "Copy code sample"
- Paste — the
$ prefix and 1.0.7 output line are included in the pasted text
Expected behavior: Only agy --version is copied.
Actual behavior: The copied text includes the $ prefix and the 1.0.7 output line.
Bug: "Copy code sample" includes dollar sign prefix and command output
The "Copy code sample" button copies more than just the code — it also includes the
$prompt prefix and any output printed below the command. It should only copy the code itself.Steps to reproduce:
$prompt prefix and output, e.g.:$prefix and1.0.7output line are included in the pasted textExpected behavior: Only
agy --versionis copied.Actual behavior: The copied text includes the
$prefix and the1.0.7output line.