reafactored code_block component to rely on pre tags