We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ae6f20 commit 1805286Copy full SHA for 1805286
src/resources/rmd/rmd.R
@@ -129,7 +129,7 @@
129
close(stdin)
130
131
# parse request and params
132
- request <- jsonlite::parse_json(input)
+ request <- jsonlite::parse_json(input, simplifyVector = TRUE)
133
params <- request$params
134
135
# source in helper functions if we have a resourceDir
tests/docs/smoke-all/2023/01/12/knitr-options-yaml.qmd
@@ -0,0 +1,22 @@
1
+---
2
+title: "Define knitr options in YAML"
3
+knitr:
4
+ opts_chunk:
5
+ dev:
6
+ - png
7
+ - pdf
8
+ - svg
9
10
+
11
+Issue [#3909](https://github.com/quarto-dev/quarto-cli/issues/3909) for details
12
13
+```{r}
14
+knitr::opts_chunk$get("dev")
15
+```
16
17
18
+#| dev:
19
+#| - png
20
+#| - svg
21
+knitr::opts_current$get("dev")
22
0 commit comments