Usage Run pandoc using pandoc-figure filter: $ pandoc --filter pandoc-figure .. toctree:: :maxdepth: 2 example