screenshot: Embed a screenshot.

Description Usage Arguments

Description

This embeds a png screenshot into the document. Generally you should use echo = FALSE on such blocks. By convention, screenshots should live in a screenshots/ directory.

Usage

1
2
3
screenshot(path, dpi = NULL)

embed_png(path, dpi = NULL)

Arguments

path

Path to screenshot.

dpi

DPI of image. You can leave this blank if the dpi is stored in the png metadata


hadley/oldbookdown documentation built on May 17, 2019, 11:04 a.m.