title: How to produce custom metadata html tags from markdown with pandoc
body: <p>I am trying to use pandoc to convert a markdown file to html, but my custom metadata tags are not being generated.</p>
  
  <p>markdown</p>
  
  <pre><code>---
  title: How to blah blah
  othertitle : How
  
  ...
  
  #Other stuff { .intro}
  Stuff
  </code></pre>
  
  <p>generated html</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
    &lt;meta http-equiv="Content-Style-Type" content="text/css" /&gt;
    &lt;meta name="generator" content="pandoc" /&gt;
    &lt;title&gt;How to blah blah&lt;/title&gt;
    &lt;style type="text/css"&gt;code{white-space: pre;}&lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div id="header"&gt;
  &lt;h1 class="title"&gt;How to blah blah&lt;/h1&gt;
  &lt;/div&gt;
  &lt;div id="other-stuff" class="section level1 intro"&gt;
  &lt;h1&gt;Other stuff&lt;/h1&gt;
  &lt;p&gt;Stuff&lt;/p&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Only <code>title</code> is generated and not other title.</p>
  
  <p>The command I run is</p>
  
  <pre><code>pandoc -o s.html --section-divs s.md -s
  </code></pre>
  
  <p>Any help appreciated</p>
  
  <p>Tom</p>