Replace `code` directive to markdown type block