ref: f27faf9afd0a8db768a21954b8755f1bf1a14f1b
dir: /themes/gohugoioTheme/assets/js/codeblocks.js/
let article = document.getElementById('prose') if (article) { let codeBlocks = article.getElementsByTagName('code') for (let [key, codeBlock] of Object.entries(codeBlocks)){ var widthDif = codeBlock.scrollWidth - codeBlock.clientWidth if (widthDif > 0) codeBlock.parentNode.classList.add('expand') } }