Files
MyBlog-Next/src/layouts
Qisthi Ramadhani 6e7d76a0d3 feat: add copy buttons for code blocks (#217)
* feat: copy button on snippet code

* refactor: update func name, styles and refactor backToTop

Rename the function name `copyButton` to `attachCopyButtons`. Update copy button styles. Fix broken `backToTop` function by attaching `astro:after-swap` event listener.

---------

Co-authored-by: Sat Naing <satnaingdev@gmail.com>
2024-01-07 21:15:47 +06:30
..