---
title: "slickR with PDFs"
output: rmarkdown::html_vignette
vignette: >
  %\VignetteIndexEntry{pdfs}
  %\VignetteEngine{knitr::rmarkdown}
  %\VignetteEncoding{UTF-8}
---

```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
```

```{r setup}
library(slickR)
```

```{r}
url <- 'https://cran.r-project.org/web/packages/slickR/slickR.pdf'

```
 
## Simple

Single PDF file in a single slider rendered as png
 
```{r}
slickpdf(url, slideId = 'ex1')

```
 
## Multiple PDF Files

```{r}
slickpdf(obj = url, obj2 = url, 
         slideId = c('ex2up','ex2down'))

```

