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 + F to start searching, or click on the search icon 🔍 if you set show_icon = TRUE.

    • Press Enter to jump to the next match.

      On Mac,

      • use ctrl + G to go to next match, and ctrl + shift + G to go to previous match.
      • use esc to exit search mode.
    • Defaults to case-insensitive. Can be changed with case_sensitive = TRUE.

  • Tile view

```{r xaringan-tile-view, echo=FALSE}
xaringanExtra::use_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")
```

GitHub repo