Better code block detection and marking.