Render list in markdown correctly