Stargazer table in RMarkdown slidy presentation?

Is there no way to include the results of a stargazer-formattd table of a linear model in an RMarkdown- slidy presentation?
Pander produces a table, but stargazer does not.


---
title: "Test"
author: "Test"
date: '2018-03-23'
output: slidy_presentation
---
## Regression Table
```{r echo=T}
mod<-lm(temperature~pressure, data=pressure)
```
## Regression Table Pander
```{r results='asis'}
library(pander)
pander(mod)
```
## Regression Table Stargazer
```{r results='asis'}
library(stargazer)
stargazer(mod)
```

My knowledge of the stargazer package is limited but does this get the result you want? (note the change from stargazer(mod) to stargazer(mod, type = 'html')

---
output: slidy_presentation
---
## Regression Table
```{r echo=TRUE}
mod<-lm(temperature~pressure, data=pressure)
```

## stargazer table
```{r results='asis'}
library(stargazer)
stargazer(mod, type = 'html')
```

For me, the table renders as:

3 Likes

I am not sure what I did wrong. Of course the stargazer package works with type='html'