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

This commit is contained in:
Helen Chong 2025-02-17 18:28:05 +08:00
parent c3616b0c8a
commit a80ac1136d
1 changed files with 1 additions and 1 deletions

View File

@ -2,4 +2,4 @@
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.