adapt the slides to pandoc