How to make PDF presentations in Markdown

type picture type · Jun 8, 2011 · Viewed 10k times · Source

Is there a LaTeX style, header, or something so that e.g. markdown2pdf from pandoc would produce a PDF having a new page with each H1/markdown heading? Cheers

Answer

John MacFarlane picture John MacFarlane · Jun 9, 2012

Using a recent version of pandoc, you can do this:

pandoc myslides.txt -t beamer -o myslides.pdf

and you will get a nicely formatted PDF slide show. For further instructions, see the pandoc User's Guide.