So once in a while someone posting on the Inform 7 sub-forum posts a code block that turns out to be pretty difficult to read because the code-block styling disables auto-wrapping. This makes sense for traditional programming languages and a lot of IF-targeted DSLs, because they naturally break into short-ish lines. But Inform 7 uses English-type paragraphs, and what winds up happening is that each paragraph is put onto a single “physically typeset” line, without wrapping it at all. This means that reading Inform 7 code posted to the forum is an exercise in frustration: on a desktop or laptop, you need to keep scrolling back and forth on the embedded frame with the mouse; this is much more difficult on mobile devices.
Is there some way that …
- wrapping could be re-enabled for code blocks on the Inform 7 forum?, and/or
- code blocks could detect Inform 7 code (or even just “detect that it’s in English and not, say, Javascript or C++”) and wrap?, and/or
- there could be an option for the post author to re-enable wrapping of code blocks, either for a whole post or on a block-by-block basis?