back port jgm/pandoc-templates#60 to make the beamer template work with single quotes in verbatim environments