Convert remaining code blocks to markdown format