```{r}
library(knitr)
text <- c("apple", "orange")
for(i in text){
cat(paste("I have an", i))
}
```
In Rmarkdown, is there a way to format text outputted by a code chunk using the cat
command? I know that I can format the font outside of the code chunk (e.g. ##Header
to make it bigger and bolded, etc). But what about the text "inside" a code chunk?