I have a workflow where I'm downloading Google Docs as docx, then processing them to markdown for export to other formats in the R environment.
When I convert to markdown with pandoc_convert, I get embedded images, but they're not linked. I want to add link syntax similar to this post,
i.e. I want this (not linked):

to be (linked):
[](https://i.imgur.com/v8IVDka.jpg)
for every image in a document. How to do?