parse tbody and thead to markdown