Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pandoc.image.return

Create pandoc image tags


Description

Creates a Pandoc's markdown format image hyperlink.

Usage

pandoc.image.return(img, caption = storage$caption)

Arguments

img

image path

caption

text

Value

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.

Note

The caption text is read from an internal buffer which defaults to NULL. To update that, call link{set.caption} before.

References

John MacFarlane (2012): _Pandoc User's Guide_. http://johnmacfarlane.net/pandoc/README.html

See Also

Examples

pandoc.image('foo.png')
pandoc.image('foo.png', 'Nice image, huh?')

pander

An R 'Pandoc' Writer

v0.6.3
AGPL-3 | file LICENSE
Authors
Gergely Daróczi [aut, cre] (<https://orcid.org/0000-0003-3149-8537>), Roman Tsegelskyi [aut]
Initial release
2018-11-06

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.