SWC-795 [Markdown] Clean up code for the short table style

-This also fixed a small issue of non-fenced tables of one row not showing up