-
Notifications
You must be signed in to change notification settings - Fork 33
Description
I'm frustrated when I want to show an rmarkdown chunk inside a rmarkdown document - in github, you can use four backticks and get the following:
```{r chunk-name, fig.align = "center"}
```
But this does not work for rmarkdown - @gadenbuie recently kindly reminded me of the trick from Yihui on how to shoe a verbatim chode chunk or inline E Expression
Describe the solution you'd like
I'd love for verbatim to have two options:
- "Show verbatim code chunk", and
- "Show verbatim inline R expression"
Describe alternatives you've considered
At the moment the alternative is for me to remember this in my head, which I don't, and I find it hard to have a clear conceptual framework to remember that
`r ''`
will break knitr's chunk parser and allow me to show the thing I want.
Additional context
I think that's about it - just, in general, thanks for writing this super nifty package!