-
-
Notifications
You must be signed in to change notification settings - Fork 878
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 .qmd
in knitr::spin()
#2284
Comments
Done (since it's quite simple). spin(text = c('#| echo: false','1+1'), format = 'qmd', knit = F) I'm not sure if the quarto cli should support |
Thanks @yihui !
I have opened quarto-dev/quarto-cli#6660 for follow the discussion on this idea |
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. |
From discussion at
Currently
format = "qmd"
is not possible.I think we could do
format = "qmd"
inspin()
, to do like .Rmd but putting chunk options in YAML probably. Withknit = FALSE
/report = FALSE
, it would produce a valid.qmd
document.We could also offer to run
quarto::quarto_render()
ifreport = TRUE
- this is related toknitr::spin
rendering with.Rmd
files #2281where we shared the idea of running
rmarkdown::render()
on .Rmd using R Markdown V2 and not expectingknit2html()
Storing the idea here. Any thoughts @yihui ?
We could also argue that
quarto convert myscript.R
could be used (or another comment) to build from a .R to a .qmdThe text was updated successfully, but these errors were encountered: