Makes a watermark generator. You can use the result with enable(watermark=...).
watermark_generator(
show_qr = TRUE,
qr_size_px = c(100, 100),
link_size_px = c(500, 100),
link_bg = "#ffffff",
font_color = "#000000",
font_size = 14,
font = "mono",
dynamic_size = TRUE
)
a function which you can pass to enable_knitr(watermark)
show QR code
two-element vector specifying the width, height of the QR code
two-element vector specifying the width, height of the link
background color for the link
font color for the link
font size for the link
font name or family, e.g. "mono"
whether to automatically adjust the watermark size depending on the size of the current graphics device