Description Usage Arguments Value Note References See Also Examples
Creates a Pandoc's markdown format image hyperlink.
1 | pandoc.image.return(img, caption = storage$caption)
|
img |
image path |
caption |
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
.
The caption
text is read from an internal buffer which defaults to NULL
. To update that, call link{set.caption}
before.
John MacFarlane (2012): _Pandoc User's Guide_. http://johnmacfarlane.net/pandoc/README.html
1 2 | pandoc.image('foo.png')
pandoc.image('foo.png', 'Nice image, huh?')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.