Switch index from html to md