| % Generated by roxygen2: do not edit by hand |
| % Please edit documentation in R/utils.R |
| \name{qrlink} |
| \alias{qrlink} |
| \title{HTML code for a linked QR code} |
| \usage{ |
| qrlink(url, logo = NULL, text = NULL, caption = text) |
| } |
| \arguments{ |
| \item{url}{Target URL for the QR code} |
| |
| \item{logo}{Optional path to a logo image to place in the center of the QR |
| code} |
| |
| \item{text}{Optional caption displayed below the QR code (alias: |
| \code{caption})} |
| |
| \item{caption}{Alias for \code{text}} |
| } |
| \value{ |
| Character string with HTML code for a linked QR code |
| } |
| \description{ |
| Generates a QR code (inline SVG) linking to the given URL and returns the |
| corresponding HTML code, so a QR code can be placed anywhere in a |
| presentation with inline R code. |
| } |
| \details{ |
| The \code{website} YAML entry of \code{\link[=revealjs_presentation]{revealjs_presentation()}} uses this to |
| place a linked QR code in the top left of the title slide. |
| } |