Copy Code in Code Block Footer

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

Auteur
Gaveroid
Nombre d'installations quotidiennes
0
Nombre d'installations
23
Évaluations
1 0 1
Version
1.0
Créer
2023-10-04
Mis à jour
2023-10-04
Taille
2,82 ko
Licence
S/O
S'applique à

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!