generate index w/ pandoc