title: Pandoc, Markdown to Doc, how to use variables?
body: <p>AFAIK, variables can be defined in a YAML external file or inside the Markdown file in a header.</p>
  
  <p>Then they can be used in the document. I have found examples with two different sytaxes:</p>
  
  <ul>
  <li><code>$variable$</code> will convert variable to math mode, which is great (i.e. I want to keep that behaviour).</li>
  <li><code>#{variable}</code> does nothing.</li>
  </ul>
  
  <p>Questions:</p>
  
  <ul>
  <li>Is it possible to use variables in the pandoc conversion from markdown to .docx?</li>
  <li>If so, how?</li>
  </ul>