include_image {bookdownplus}R Documentation

Insert an image from a url

Description

This function is supposed to be used in R code chunks or inline R code expressions.

Usage

include_image(img_url, img_dir = "images")

Arguments

img_url

The url of the image

img_dir

The path of the local image directory

Value

The same as the knitr::include_graphics() function


[Package bookdownplus version 1.5.8 Index]