1. Modify indexes. 2. Replace markdown tags with HTML tags in table.