better pandoc support