* 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
the `.hidden-links` popup disappears after you move the cursor out of it.
However, the white overlay on the screen does not disappear, as well as the `x` nav button on the top-right, remains as is.
Now when you click anywhere on the screen the popup appears again, and the `x` nav button turns back to a hamburger menu button.
And when you click on the hamburger menu, the popup disappears. now it's happening the exact opposite.
To remedy this, the pop up menu as well as the `x` nav button should also return back to normal once the popup disappears.
This commit fixes this issue.
Rakefile is like Makefile - it has dependency management,
while npm run scripts do not.
Aside from that, this also allows us to drop literally all Node.js packages,
as uglify-js is self-contained and has no dependencies.
Reduced node_modules from 17M to 374K.
* Use relative_url and absolute_url where possible
Drops the `contains "://"` check, adopt Jekyll 3.7
Ref: https://github.com/mmistakes/minimal-mistakes/pull/2385#issuecomment-579882236
* One more unneeded {% assign %}
* Remove one more assign as noted by mmistakes
* Consolidate 4 more captures
* Consolidate an extra assign on "active" class