Skip to content

Commit

Permalink
Implemented copy code button feature (alshedivat#1267)
Browse files Browse the repository at this point in the history
Implemented support for copy code button in code blocks (alshedivat#1262), also updated blog post about code to reflect it.
  • Loading branch information
george-gca authored and Yew Jin committed Jul 29, 2023
1 parent 5b5199d commit 0000238
Show file tree
Hide file tree
Showing 3 changed files with 255 additions and 86 deletions.
1 change: 1 addition & 0 deletions _includes/scripts/misc.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@

<!-- Load Common JS -->
<script defer src="{{ '/assets/js/common.js' | relative_url }}"></script>
<script defer src="{{ '/assets/js/copy_code.js' | relative_url }}" type="text/javascript"></script>
Loading

0 comments on commit 0000238

Please sign in to comment.