Pandoc recognition

continued from #100