Add some functions to deal with tables in markdown.