Fix code blocks in renderer