title: Image centering with pandoc markdown
body: <p>I need to create documents periodically for Word-using administrators. How can I centre an image using pandoc markdown? I see mention of div blocks, but I have no idea what they are. </p>
  
  <pre><code>![](myimage.png){.center}
  </code></pre>
  
  <p>With image code such as that above, and a command line such as:</p>
  
  <pre><code>pandoc -s test.md -o test.docx
  </code></pre>
  
  <p>or</p>
  
  <pre><code>pandoc -s test.md -o test.pdf
  </code></pre>
  
  <p>I always end up with left-aligned images in my document.</p>