support outputting markdown via pandoc