minimal-mistakes/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
..
_data Add Rake task :version 2024-05-05 05:52:08 +08:00
_docs Add "copy to clipboard" button for code blocks (#2812) 2024-05-05 19:43:24 +08:00
_drafts Move gh-pages branch files into /docs and add test files 2016-11-03 11:52:04 -04:00
_includes Add _includes/before-related.html and remove docs site single layout override 2024-04-23 12:09:12 +08:00
_pages Replace "hidden" check in Liquid with where_exp 2024-05-05 03:18:27 +08:00
_pets Move gh-pages branch files into /docs and add test files 2016-11-03 11:52:04 -04:00
_portfolio Extend grid view to the right to better fill the page 2017-08-09 13:00:33 -04:00
_posts Replace with public YouTube video embeds 2022-05-27 14:07:03 -04:00
_recipes Move gh-pages branch files into /docs and add test files 2016-11-03 11:52:04 -04:00
assets/images Fix broken image 2021-06-23 07:55:12 -04:00
_config.dev.yml Move gh-pages branch files into /docs and add test files 2016-11-03 11:52:04 -04:00
_config.yml Add "copy to clipboard" button for code blocks (#2812) 2024-05-05 19:43:24 +08:00
Gemfile Add jekyll-include-cache to docs Gemfile 2018-10-04 20:21:36 -04:00
screenshot-layouts.png Move gh-pages branch files into /docs and add test files 2016-11-03 11:52:04 -04:00
screenshot.png Move gh-pages branch files into /docs and add test files 2016-11-03 11:52:04 -04:00