website/_sass/minimal-mistakes
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
..
2020-08-30 20:52:12 -04:00
2019-03-05 18:53:30 -05:00
2024-04-28 01:13:45 +08:00
2021-03-03 09:39:28 -05:00
2018-11-25 20:19:24 -05:00
2017-11-15 15:50:51 -05:00