pandoc omitted some figure captions -> fixed by adding blank line if
neccesary before figures in .md