powered by
Creates a Pandoc's markdown format image hyperlink.
pandoc.image.return(img, caption = storage$caption)
image path
text
By default this function outputs (see: cat) the result. If you would want to catch the result instead, then call the function ending in .return.
cat
.return
John MacFarlane (2012): _Pandoc User's Guide_. https://johnmacfarlane.net/pandoc/README.html
set.caption
# NOT RUN { pandoc.image('foo.png') pandoc.image('foo.png', 'Nice image, huh?') # }
Run the code above in your browser using DataLab