made index an option and added pod2markdown function