So if I have some code, such as:
---
title: "Data Exploration"
output: html_notebook
---
```{r, echo = 2}
data("mtcars")
summary(mtcars$mpg)
```
then I would expect only the 2nd line, i.e. summary(mtcars$mpg)
to show in my previewed document. But what it actually does is remove all code from my previewed document and removes the show/hide code toggle button. Any idea how I can show certain lines whilst keeping the toggle button?