1document.addEventListener('DOMContentLoaded', function () { 2 jQuery('.tutor-container pre').each(function () { 3 let el = jQuery(this), 4 fallback = 'javascript', 5 lang = el.attr('class').trim().replace('language-', '') || fallback, 6 highlighted = null; 7 8 if (Prism) { 9 try { 10 highlighted = Prism.highlight(el.text(), Prism.languages[lang], lang); 11 } catch (error) { 12 highlighted = Prism.highlight(el.text(), Prism.languages[fallback], fallback); 13 } 14 15 highlighted ? el.html(highlighted) : null 16 } 17 }) 18})
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.