From a80ac1136d7a9d5df930810f4e32101b698fc9b8 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Mon, 17 Feb 2025 18:28:05 +0800 Subject: [PATCH] Credit the source of the code of "Copy Code" buttons --- src/changelogs/logs/2025/2025-02-17.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/changelogs/logs/2025/2025-02-17.md b/src/changelogs/logs/2025/2025-02-17.md index daa9cd4d..53113f57 100644 --- a/src/changelogs/logs/2025/2025-02-17.md +++ b/src/changelogs/logs/2025/2025-02-17.md @@ -2,4 +2,4 @@ date: 2025-02-17T18:10:52+0800 --- -* Add buttons to copy code snippets to pages with code blocks. \ No newline at end of file +* 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. \ No newline at end of file