iimg: Insert Image (markdown)

View source: R/iimg.R

iimgR Documentation

Insert Image (markdown)

Description

This function will copy a specified image (file) and write predefined text in markdown-style.

Usage

iimg(
  caption = "Enter caption here.",
  path2image = file.choose(),
  assets_dir = "_assets",
  html = TRUE
)

Arguments

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.

Author(s)

Frederik Sachser


sachserf/sf documentation built on June 8, 2024, 4:23 p.m.