I'm concerned that this might not be possible, but it's worth a try, perhaps.
Could monks who post code be allowed to post them in two methods? The first one would be the normal way with the CODE tags, but perhaps there'd be another way that would allow them to put the code within TEXTAREA tags, so a monk could scroll horizontally/vertically to see the code, instead of allowing the code to screw up the formatting?