7.12 xaringanExtra
The xaringanExtra package provides additional functionalities and themes for xaringan presentations.
Highlight features:
Add a search box to search through your slides with search
```{r xaringanExtra-search, echo=FALSE} # add search box xaringanExtra::use_search(show_icon = TRUE, position = "bottom-left") ```In your slides, press
Control+Fto start searching, or click on the search icon 🔍 if you setshow_icon = TRUE.Press
Enterto jump to the next match.On Mac,
- use
ctrl + Gto go to next match, andctrl + shift + Gto go to previous match. - use
escto exit search mode.
- use
Defaults to case-insensitive. Can be changed with
case_sensitive = TRUE.
Tile view
Tile view gives you a way to quickly jump between slides. Just press O (the letter O for Overview) at any point in your slideshow and the tile view appears.
Click on a slide to jump to the slide, or press O to exit tile view.
Add a progress bar at the bottom of your slides with progress bar
Might not be necessary if you page numbers already.
```{r xaringanExtra-progressbar, echo=FALSE}
# add progress bar
xaringanExtra::use_progress_bar(color="red", location="top", height="0.25em")
```