Files
website/docs/_docs
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
..
2024-05-05 05:52:08 +08:00
2024-05-05 05:52:08 +08:00
2018-09-10 15:05:07 -04:00
2019-10-27 20:14:58 -04:00
2024-05-05 17:05:01 +08:00
2020-05-22 10:06:57 -04:00
2021-07-23 09:34:04 -04:00
2018-11-25 19:48:19 -05:00
2018-01-10 11:22:41 -05:00
2024-04-26 00:43:42 +08:00