ref: f8a119b606d55aa4f31f16e5a3cadc929c99e4f8
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')
}
}