Credit the source of the code of "Copy Code" buttons
This commit is contained in:
parent
5207371f3f
commit
a1a3165976
@ -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.
|
Loading…
x
Reference in New Issue
Block a user