* 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
* Implement heading permalinks, close#2246
Thanks to jekyll/jekyll for CSS.
Link anchor is visible when the mouse hovers over the title line.
* Build the updated _main.js
* Dear the make of one of the world's greatest jekyll theme.
[problem]
I found that
'Syntax Error' occurs when non-english character is included in some html elements(e.g h2, h3 ...) and 'toc' is generated based of that elements.
[debug]
Click the any element of auto generated 'toc' in the below link.
https://aliwo.github.io/swblog/series/principles_of_python/object/#%EA%B0%9D%EC%B2%B4%EC%99%80-%ED%81%B4%EB%9E%98%EC%8A%A4%EC%9D%98-%EC%A0%95%EC%9D%98
[fix]
This happens because escaped url string get right in to jquery. So I fixed it with
javascript's 'decodeURI' function! :)
* rollback unnecessary changes
* Fix smooth scroll breaking back button #1767
* Change URL's hash fragment when clicking on TOC
* Switch from hashchange to popstate event handler
This seems to have better behavior with the Forward button, on page load,
and always scrolls in the right direction.
Close#1767
- Use JavaScript to determine height of `.page_footer` to apply padding to `body` avoiding any content overlap
- Absolute position `.page_footer` to bottom of the page