| @@ -5,10 +5,9 @@ | |||
| Give your [xaringan](https://github.com/yihui/xaringan) slides some | |||
| style with **xaringanthemer** within your `slides.Rmd` file without | |||
| (much) | |||
| CSS. | |||
| (much) CSS. | |||
| <img src="/Users/garrickaden-buie/Dropbox/R/xaringanthemer/vignettes/images/examples.gif" width="100%" /> | |||
| <img src="vignettes/images/examples.gif" width="100%" /> | |||
| - [Installation](#installation) | |||
| - [Quick Intro](#quick-intro) | |||
| @@ -68,7 +67,7 @@ themes\! | |||
| <center> | |||
| <img src="/Users/garrickaden-buie/Dropbox/R/xaringanthemer/vignettes/images/rmarkdown-template-screenshot.png" width="350px" /> | |||
| <img src="vignettes/images/rmarkdown-template-screenshot.png" width="350px" /> | |||
| </center> | |||
| @@ -35,7 +35,11 @@ if (exists('IS_README') && IS_README) { | |||
| <center> | |||
| ```{r out.width="350px"} | |||
| knitr::include_graphics(here::here("vignettes/images/rmarkdown-template-screenshot.png")) | |||
| if (exists('IS_README') && IS_README) { | |||
| knitr::include_graphics("vignettes/images/rmarkdown-template-screenshot.png") | |||
| } else { | |||
| knitr::include_graphics(here::here("vignettes/images/rmarkdown-template-screenshot.png")) | |||
| } | |||
| ``` | |||
| </center> | |||
| @@ -2,6 +2,10 @@ | |||
| Give your [xaringan] slides some style with **xaringanthemer** within your `slides.Rmd` file without (much) CSS. | |||
| ```{r} | |||
| knitr::include_graphics(here::here("vignettes/images/examples.gif")) | |||
| ```{r echo=FALSE} | |||
| if (exists('IS_README') && IS_README) { | |||
| knitr::include_graphics("vignettes/images/examples.gif") | |||
| } else { | |||
| knitr::include_graphics(here::here("vignettes/images/examples.gif")) | |||
| } | |||
| ``` | |||