blob: 26b5bd724e70444169500502e8fbbf0a2dadc824 [file] [log] [blame]
Marc Kupietz59e95a62026-08-29 10:19:05 +03001% 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{
7qrlink(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
13code}
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{
21Character string with HTML code for a linked QR code
22}
23\description{
24Generates a QR code (inline SVG) linking to the given URL and returns the
25corresponding HTML code, so a QR code can be placed anywhere in a
26presentation with inline R code.
27}
28\details{
29The \code{website} YAML entry of \code{\link[=revealjs_presentation]{revealjs_presentation()}} uses this to
30place a linked QR code in the top left of the title slide.
31}