Using a formatter like rustfmt, you could generate multiple versions of a code block with different column widths. Then, through JavaScript, you could load the one that fits based on the viewport width to get actually responsive <pre>
tags. 🤔 #freeprojectidea