Copy Code in Code Block Footer

Duplicate the header of code blocks as a footer to give a second copy code button

Author
Gaveroid
Daily installs
0
Total installs
22
Ratings
1 0 1
Version
1.0
Created
2023-10-04
Updated
2023-10-04
License
N/A
Applies to

This duplicates the header of ChatGPT's generated code blocks and adds it as a footer. Now when ChatGPT generates you a really long block of code, you don't have to scroll all the way up to the top to click copy code.

You'll never guess how I made this script!