Convert code block to markdown