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