reformat md sublist