| Marc Kupietz | 59e95a6 | 2026-08-29 10:19:05 +0300 | [diff] [blame] | 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/utils.R |
| 3 | \name{qrlink} |
| 4 | \alias{qrlink} |
| 5 | \title{HTML code for a linked QR code} |
| 6 | \usage{ |
| 7 | qrlink(url, logo = NULL, text = NULL, caption = text) |
| 8 | } |
| 9 | \arguments{ |
| 10 | \item{url}{Target URL for the QR code} |
| 11 | |
| 12 | \item{logo}{Optional path to a logo image to place in the center of the QR |
| 13 | code} |
| 14 | |
| 15 | \item{text}{Optional caption displayed below the QR code (alias: |
| 16 | \code{caption})} |
| 17 | |
| 18 | \item{caption}{Alias for \code{text}} |
| 19 | } |
| 20 | \value{ |
| 21 | Character string with HTML code for a linked QR code |
| 22 | } |
| 23 | \description{ |
| 24 | Generates a QR code (inline SVG) linking to the given URL and returns the |
| 25 | corresponding HTML code, so a QR code can be placed anywhere in a |
| 26 | presentation with inline R code. |
| 27 | } |
| 28 | \details{ |
| 29 | The \code{website} YAML entry of \code{\link[=revealjs_presentation]{revealjs_presentation()}} uses this to |
| 30 | place a linked QR code in the top left of the title slide. |
| 31 | } |