Skip to content

Instantly share code, notes, and snippets.

@ralt
Created January 19, 2014 01:40
Show Gist options
  • Select an option

  • Save ralt/8499332 to your computer and use it in GitHub Desktop.

Select an option

Save ralt/8499332 to your computer and use it in GitHub Desktop.
Pandoc and Beamer
$ pandoc -D beamer > beamer.tex # See the template that pandoc uses to generate the latex
$ pandoc -t beamer file.md -i --toc -V theme:Szeged -V colortheme:crane -o file.pdf
# -i is to show incrementally the items of a list
# --toc generates the table of contents
# -V replaces a variable used in the beamer.tex template
# Reference: http://johnmacfarlane.net/pandoc/demo/example9/producing-slide-shows-with-pandoc.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment