-
Notifications
You must be signed in to change notification settings - Fork 609
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
Copy code button #499
Copy code button #499
Conversation
This reverts commit dcbcccd.
@mansoorbarri
|
When I've done this in the past, I also filtered the beginning stuff from $ echo "hi"
hi Should only copy |
updated as requested. |
not expected behaviour, let me have a look at it. it should always show on the top right. |
please have a look now. I couldn't find the particular post in the example site so this is just a blind fix. |
First of all sorry for the confusion. The picture was an example of my own website. I probably should have tested it with the exampleSite. It is fixed now but I think your code was good even before. I believe the culprit at work was But I've noticed some more things:
I am not sure how fixable these things are though |
can you let me know the blog you are copying from? |
I copied it from the default examples sites of the beautiful hugo sites. this post |
fixed |
Works like a charm now. In my opinion this can be added @henryiii |
Thanks both! |
fixes: Add a copy button to code snippet #494
files changed:
screenshot:
from: /post/2017-03-07-bigimg-sample/