Credit the source of the code of "Copy Code" buttons

This commit is contained in:
Leilukin 2025-02-17 18:28:05 +08:00 committed by Helen Chong
parent 5207371f3f
commit a1a3165976

View File

@ -2,4 +2,4 @@
date: 2025-02-17T18:10:52+0800 date: 2025-02-17T18:10:52+0800
--- ---
* Add buttons to copy code snippets to pages with code blocks. * Add buttons to copy code snippets to pages with code blocks. Credit to ttntm's article ["Adding a Copy Button to Code Blocks"](https://ttntm.me/blog/adding-a-copy-button-to-code-blocks/) for the JavaScript code to implement the buttons.