reformat table to valid GFM