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

Standardise on new quarto chunk style #1913

Open
hadley opened this issue Nov 2, 2023 · 2 comments
Open

Standardise on new quarto chunk style #1913

hadley opened this issue Nov 2, 2023 · 2 comments
Labels
feature a feature request or enhancement tidy ✨ tools for the tidyverse team upkeep 🧹

Comments

@hadley
Copy link
Member

hadley commented Nov 2, 2023

Using knitr::convert_chunk_header() to convert (for next spring cleaning)

@hadley hadley added feature a feature request or enhancement tidy ✨ tools for the tidyverse team upkeep 🧹 labels Nov 3, 2023
@hfrick
Copy link

hfrick commented Oct 18, 2024

Do we want type = "yaml" which is what the quarto docs use

 #| echo: false,
 #| fig.width: 10

or the (default) type = "multiline"?

#| echo = FALSE,
#| fig.width = 10

The help page for knitr::convert_chunk_header() says the yaml style isn't yet implemented but it looks like that is outdated info and it works nonetheless.

@jennybc
Copy link
Member

jennybc commented Oct 18, 2024

FWIW when I do this conversion, I feel like I always switch to the type = "yaml" form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement tidy ✨ tools for the tidyverse team upkeep 🧹
Projects
None yet
Development

No branches or pull requests

3 participants