check markdown formatting