add_slide.Rd
Function writing a quarto revealjs slide according to the user's specifications.
add_slide(
title = NA,
section = FALSE,
color = "#FFFFFF",
gradient = NA,
size = "cover",
opacity = 1,
trans_data = "fade",
trans_back = "slide",
image_url = NA,
image_position = "center",
image_repeat = "no-repeat",
video_url = NA,
video_loop = "false",
video_mute = "true",
iframe_url = NA,
iframe_interactive = "false",
classes = NA,
visible = TRUE
)
Character. Title of the slide. If NA, the slide does not include separation.
Logical. True if this is a section-title slide.
Character. Background color.
Character. Specify a css gradient as background instead of the background color (e.g. "-webkit-radial-gradient(top, circle cover, #246 0%, #013 80%)").
Character. Whether the background should be "contain", "cover", or a specific size (e.g. "100px")
Integer. From 0 for totally transparent to 1 for totally opaque
Character. Type of transition for data: fade, slide, convex, concave, or zoom.
Character. Type of transition for the background: fade, slide, convex, concave, or zoom.
Character. URL of the background image or css specification for complex backgrounds.
Character. Whether the background should be displayed at the "top", "right", "bottom", "left", "center", a=or another position.
Character. Whether the image should "no-repeat", "repeat", "repeat-x" or repeat-y".
Character. URL of the background video.
Character. "true" if the video should loop, "false" otherwise.
Character. "true" if the video should be muted, "false" otherwise.
Character. URL of the background website.
Character. "true" if the iframe should be interactive, "false" otherwise.
Character vector. Specifiy the names of other formatting classes which should be applied to the slide.
Logical. FALSE if the slide should be hidden.
Character. Write the first rows of a RevealJS slide formatted for quarto.