Commit Graph

2 Commits

Author SHA1 Message Date
Kian Kasad
4425e21596 add buttons to copy code block contents
Adds a clickable "copy" link in the top-right corner of each code block.

If available, uses the navigator.clipboard API. Falls back to selecting
the text and calling document.execCommand('copy') to copy text.
2021-04-03 18:24:39 -07:00
Aditya Telange
e503367a1a [BREAKING] Split-up css into sub-parts (#317)
* Move styles into 3 different locations
- core
- common
- hljs

* Load all stylesheets in proper order
2021-03-27 11:28:55 +05:30