Files
website/_includes
iBug 0527e17354 Add "copy to clipboard" button for code blocks (#2812)
* Add copy-to-clipboard button and JS

* Ignore line numbers if present

* Rewrite heading permalink code to use vanilla JS

* README: Add credits to zenorocha/clipboard.js (MIT License)

@iBug really wants a place here in the Credits section :P

* Add .no-copy for hiding the button, update docs

* Add td.rouge-code to selectors

* Fix navigator.clipboard branch

* Add screenreader text for copy button

* Restore focus to the button after copying

* Add site-wide enable switch
2024-05-05 19:43:24 +08:00
..
2016-03-21 14:11:39 -04:00
2020-08-30 20:52:12 -04:00
2022-05-27 09:49:00 -04:00
2021-07-23 14:16:08 -04:00
2020-01-07 12:38:08 -05:00
2024-04-28 01:13:45 +08:00
2024-04-28 01:13:45 +08:00
2024-05-05 16:29:54 +08:00
2021-07-23 14:16:08 -04:00
2021-04-13 15:58:37 -04:00
2024-05-05 18:13:23 +08:00
2021-07-23 14:16:08 -04:00
2018-01-04 14:27:27 -05:00
2024-04-23 21:52:22 +08:00