-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug report: clipboard-copy function #168
Comments
/assign @morvencao |
@ycyaoxdu It's not hard to trim the prompt character /enhance |
And also what if we have multiple commands in a code block, for example:
|
@morvencao Is this considered done? |
not yet, I will find time for this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While using the
copy
function for coping the code snippet, I found it doesn't works properly:When i clicked the
copy
of step 2 code snippet 1 here, what i get in my clipboard is :$ kubectl -n open-cluster-management get pod --context ${CTX_HUB_CLUSTER} NAME READY STATUS RESTARTS AGE cluster-manager-695d945d4d-5dn8k 1/1 Running 0 19d
the non-command lines which don't start with a
$
is also been copied.I'm wondering that if it is ok for just add a judgment rule to the copy function to determine whether the line is stared with
$
which means that it is a command should be copied.The text was updated successfully, but these errors were encountered: