fit_screen {xaringanExtra}R Documentation

Fit Slides to the Screen

Description

This extension resizes the slides to match the browser window height and width. In other words, the slides are maximized to match the screen size. The primary use case for this extension is for when you want to show your slides in split screen, for example when demonstrating code in RStudio or another window. To enable fit-to-screen, press Alt/Option + F during the slideshow. To disable, reload the slides.

Usage

use_fit_screen()

html_dependency_fit_screen()

Value

Anhtmltools::tagList() with the fit-to-screen dependency, or an htmltools::htmlDependency().

Functions

Usage

To enable fit-to-screen, add the following code chunk to your slides:

```{r xaringan-fit-screen, echo=FALSE}
xaringanExtra::use_fit_screen()
```

And then press Alt/Option + F at any point during your slide show to enable the extension.

Examples

use_fit_screen()


[Package xaringanExtra version 0.8.0 Index]