minimal-mistakes/assets/js
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
..
lunr Fix where_exp for Jekyll < 4.0 2024-04-28 00:56:17 +08:00
plugins Remove overlay and revert X to hamburger icon when popup disappears (#3958) 2024-05-05 17:34:12 +08:00
vendor/jquery Update to Jquery 3.6.0 (#3254) 2022-05-27 10:12:25 -04:00
_main.js Add "copy to clipboard" button for code blocks (#2812) 2024-05-05 19:43:24 +08:00
main.min.js Add "copy to clipboard" button for code blocks (#2812) 2024-05-05 19:43:24 +08:00
main.min.js.map Remove "sticky sidebar" JS in favor of CSS media queries 2024-05-05 18:23:01 +08:00