ref: b1a82c61aba067952fdae2f73b826fe7d0f3fc2f
dir: /docs/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') } }