ref: b8b8436fcca17c152e94cae2a1acad32efc3946c
dir: /docs/themes/gohugoioTheme/src/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')
}
}