Update markdown generation