change md to have proper nested lists