How Slidify Works?

Interactive Docs, UseR 2014

Ramnath Vaidyanathan

Page (Rmd)

---
title: Slidify
author: Ramnath Vaidyanathan
framework: io2012
---
## Get Started

Slidify is easy to use, only three rules!

1. Write content using R Markdown
3. Add properties using YAML
4. Separate slides using `---`

---
## Example Slide

Let us create a __scatterplot__

```{r myplot}
require(ggplot2)
qplot(wt, mpg, data = mtcars)
```
---
title: Slidify
author: Ramnath Vaidyanathan
framework: io2012
---
## Get Started

Slidify is easy to use, only three rules!

1. Write content using R Markdown
3. Add properties using YAML
4. Separate slides using `---`

---
## Example Slide

Let us create a __scatterplot__

```{r myplot}
require(ggplot2)
qplot(wt, mpg, data = mtcars)
```

Properties

---
title: Slidify
author: Ramnath Vaidyanathan
framework: io2012
---
## Get Started

Slidify is easy to use, only three rules!

1. Write content using R Markdown
3. Add properties using YAML
4. Separate slides using `---`

---
## Example Slide

Let us create a __scatterplot__

```{r myplot}
require(ggplot2)
qplot(wt, mpg, data = mtcars)
```

Section

---
title: Slidify
author: Ramnath Vaidyanathan
framework: io2012
---
## Get Started

Slidify is easy to use, only three rules!

1. Write content using R Markdown
3. Add properties using YAML
4. Separate slides using `---`

---
## Example Slide

Let us create a __scatterplot__

```{r myplot}
require(ggplot2)
qplot(wt, mpg, data = mtcars)
```

Separator

---
title: Slidify
author: Ramnath Vaidyanathan
framework: io2012
---
## Get Started

Slidify is easy to use, only three rules!

1. Write content using R Markdown
3. Add properties using YAML
4. Separate slides using `---`

---
## Example Slide

Let us create a __scatterplot__

```{r myplot}
require(ggplot2)
qplot(wt, mpg, data = mtcars)
```

Markdown

---
title: Slidify
author: Ramnath Vaidyanathan
framework: io2012
---
## Get Started

Slidify is easy to use, only three rules!

1. Write content using R Markdown
3. Add properties using YAML
4. Separate slides using `---`

---
## Example Slide

Let us create a __scatterplot__

```{r myplot}
require(ggplot2)
qplot(wt, mpg, data = mtcars)
```

Code Chunk

---
title: Slidify
author: Ramnath Vaidyanathan
framework: io2012
---
## Get Started

Slidify is easy to use, only three rules!

1. Write content using R Markdown
3. Add properties using YAML
4. Separate slides using `---`

---
## Example Slide

Let us create a __scatterplot__


```r
require(ggplot2)
qplot(wt, mpg, data = mtcars)
```

![plot of chunk myplot](assets/fig/myplot.png) 

Slide

--- {class: [class1, class2], id: id}

## Title

Some content

*** {name: block1, class: class3}

## Block1 Title

Some contents of block 1

*** {bg: green}

## Block2 Title

Some contents of block 2

 --- {class: [class1, class2], id: id}

 ## Title

 Some content

 *** {name: block1, class: class3}

 ## Block1 Title

 Some contents of block 1

 *** {bg: green}

 ## Block2 Title

 Some contents of block 2

Properties


 --- {class: [class1, class2], id: id}

 ## Title

 Some content

 *** {name: block1, class: class3}

 ## Block1 Title

 Some contents of block 1

 *** {bg: green}

 ## Block2 Title

 Some contents of block 2

Title


 --- {class: [class1, class2], id: id}

 ## Title

 Some content

 *** {name: block1, class: class3}

 ## Block1 Title

 Some contents of block 1

 *** {bg: green}

 ## Block2 Title

 Some contents of block 2

Content


 --- {class: [class1, class2], id: id}

 ## Title

 Some content

 *** {name: block1, class: class3}

 ## Block1 Title

 Some contents of block 1

 *** {bg: green}

 ## Block2 Title

 Some contents of block 2

Blocks

Backup Slides

Code Chunks

```{r example, fig.width = 6, comment = NA}
x <- 1+1
rnorm(5)
```

Markup

Label

Options

Code

```{r example, fig.width = 6, comment = NA}
x <- 1+1
rnorm(5)
```

Markup

The overriding design goal for Markdown’s formatting syntax is to make it as readable as possible. The idea is that a Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions.