jgm/pandoc-templates — pull request #12 by chrisersen (2012-05-31 07:14:12+00:00)
Title: images in beamer

Sometimes images are wider than linewidth. I needed a solution that detects such images and scales them to width=\linewidth. I found a solution at http://tex.stackexchange.com/a/6077 and merged it into default.beamer.