1require([ 'gitbook' ], function (gitbook) { 2 gitbook.events.bind('start', function (e, config) { 3 var githubURL = config.github.url; 4 5 gitbook.toolbar.createButton({ 6 icon: 'fa fa-github', 7 label: 'GitHub', 8 position: 'right', 9 onClick: function() { 10 window.open(githubURL) 11 } 12 }); 13 }); 14});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.