changed index to md format