21 lines · 561 B · JavaScript
RawDownload
// Site JS $(function() {  // Add hover links on headings  $("h2, h3, h4, h5, h6").each(function(i, el) {    var $el, icon, id;    $el = $(el);    id = $el.attr('id');    icon = '<i class="fa fa-link"></i>';    if (id) {      return $el.prepend($("<a />").addClass("header-link").attr("href", "#" + id).html(icon));    }  });  // Wire up copy to clipboard buttons  $(".copy-to-clipboard").click(function() {    var copyText = $(this).prev();    copyText.select();    document.execCommand("copy");    $(this).attr("title", "Copied!");  });});

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t