-
DescriptionProblem: If I set up a quarto document with an R code cell with the Reproducible example: For a file ---
title: "Verbatim R code with empty lang"
format: html
---
```{r}
#| lang: ""
23
```rendering via yields Suggestion: It would be great if in this case the empty language would be omitted and only Background: Of course, you can argue that I shouldn't set an empty language. However, this is a workaround I use in my exams package to be able to render the same verbatim R code more easily in both LaTeX and HTML via pandoc. The workaround was suggested by Yihui in this discussion on StackOverflow: https://stackoverflow.com/questions/72243968/plain-code-chunks-for-r-input-in-knitr-output |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Thanks this look like a bug in our option handling. I'll fix it. |
Beta Was this translation helpful? Give feedback.
Thanks this look like a bug in our option handling. I'll fix it.