added pandoc support