tidy-up md format