title: How to specify YAML metadata in Markdown for Pandoc Beamer slides?
body: <p>I am trying to use a YAML metadata block to specify some document properties in a Markdown document for Pandoc that I am going to convert to LaTeX Beamer. I read the description here: <a href="http://johnmacfarlane.net/pandoc/README.html#extension-yaml_metadata_block" rel="nofollow">http://johnmacfarlane.net/pandoc/README.html#extension-yaml_metadata_block</a> and attempted the following document:</p>
  
  <pre><code>---
  title: Some title
  ---
  
  # This is a test slideshow.
  
  ## This should turn into a slide...
  
  ...with some content.
  </code></pre>
  
  <p>I convert the file to PDF using <code>pandoc -t beamer file.md -V theme:SomeTheme -o file.pdf</code>. It seems to work correctly with the theme etc., except that the YAML block at the beginning of the document is converted into a table in the first slide containing a top and bottom rule and the text "title: Some title". What am I doing wrong?</p>