I am trying to use RMarkdown to write some code as follows:
```{r, message = F, warning = F, results='hide'}
library(tidyverse)
#devtools::install_github("")
library(ggthemes)
```.
(where the period is not in my code.)
I want it to just display the code but not the results. It does this, but the formatting is very different from what I am expecting. It does this both in my local host and on the internet. What should I do?
Note that I am doing this in a blogdown .Rmarkdown file. This actually seems to be the problem. I tried the same code snippet outside of the blogdown project, and it worked just fine.
Another thing I learned is that if I do it with an .Rmd file (to .html) it works, so it is something to do with the .Rmarkdown (to .markdown) that doesn't work.