use_banner | R Documentation |
Adds a banner to all the slides in your deck at the top or the bottom of the slide. You can place content in the left, center, or right portion of the banner.
use_banner(
...,
bottom_left = NULL,
bottom_center = NULL,
bottom_right = NULL,
top_left = NULL,
top_center = NULL,
top_right = NULL,
exclude = NULL
)
... |
Banner styles created with |
bottom_left , top_left |
Text or HTML to place in the left column of the top or bottom of the slide. |
bottom_center , top_center |
Text or HTML to place in the center column at the top or the bottom of the slide. |
bottom_right , top_right |
Text or HTML to place in the right column of the top or bottom of the slide. |
exclude |
A vector of slide classes where the banner should not be
applied. By default all slides are included, but you might want to exclude
the title and inverse slides with |
An htmltools::tagList()
with the banner dependencies, or an
htmltools::htmlDependency.
style_banner()
use_banner(bottom_left = "bit.ly/my-awesome-slides")
use_banner(
bottom_left = "bit.ly/my-awesome-slides",
top_center = "My Presentation",
exclude = c("title-slide", "inverse"),
style_banner(text_color = "grey")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.