title: How to convert reStructuredText files with images to markdown?
body: <p>I have rst files containing lines like </p>
  
  <pre><code>.. figure:: examples/foo.png 
      :scale: 80%
  
      Fig. 1 : Illustration of the awesomeness of stackoverflow
  </code></pre>
  
  <p>now I want this file to be converted into markdown. I tried using <code>pandoc</code>, </p>
  
  <pre><code>pandoc -s -w rst --toc foo.rst -o foo.md
  </code></pre>
  
  <p>but the output file <code>foo.md</code> seems ignore the figure inclusion lines. So, how can I convert into markdown files without losing the awesomeness of figures? Thanks</p>