Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for new knitr option specification #30

Open
coatless opened this issue Jan 7, 2022 · 1 comment
Open

Support for new knitr option specification #30

coatless opened this issue Jan 7, 2022 · 1 comment

Comments

@coatless
Copy link

coatless commented Jan 7, 2022

Starting from {knitr} v1.35 onward, the options possible in an R Markdown file now include:

R inline style:

```{r}
#| echo = FALSE,
#| fig.width = 10
```

YAML style:

```{r}
#| echo: false
#| fig.width: 10
```

Any plans to support parsing these special comment options? #!

@joelnitta
Copy link

+1: It would be great to be able to convert between these two types of formats.

Doing so would help me solve this issue in a package I'm developing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants