Convert the index to a md file