iimg | R Documentation |
This function will copy a specified image (file) and write predefined text in markdown-style.
iimg(
caption = "Enter caption here.",
path2image = file.choose(),
assets_dir = "_assets",
html = TRUE
)
caption |
Character. Write a caption (optional). |
path2image |
Character. Specify filepath. Opens a window to choose a file per default. |
assets_dir |
Character. Specify name for a target directory to copy the image. |
html |
Logical. Choose between html or markdown notation. |
Frederik Sachser
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.