reformat md