added pandoc mode