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

Do dash conversion to dot for YAML option in knitr directly (only in Quarto for now) #2214

Closed
cderv opened this issue Feb 3, 2023 · 1 comment · Fixed by #2282
Closed

Comments

@cderv
Copy link
Collaborator

cderv commented Feb 3, 2023

This follows a discussion in quarto-dev/quarto-cli#4120

Quarto does accept knitr option with - instead of ., and do convert for knitr.
https://github.com/quarto-dev/quarto-cli/blob/91fd1456dc969bb5de9f4f1c15ff8455283715cf/src/resources/rmd/hooks.R#L662

Supporting directly in knitr would allow more symetric usage for YAML in Rmd.

However, it could be confusing to accept both, and have some dash name in YAML and dot name in chunk header.

Just opening to thing about it and track interest

Copy link

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant