Multiple output formats #4093
Closed
eteitelbaum
started this conversation in
Feature Requests
Replies: 1 comment
-
Closing in favour of #4462 and consider https://github.com/quarto-dev/quarto-r/issues for the R wrapper package. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In R Markdown you can add some code to the YAML header in order to knit to multiple output formats simultaneously, e.g.:
rmarkdown::render('your.Rmd', output_format = 'all')
.Similarly, in Quarto, you can publish to multiple formats from the console:
quarto::quarto_render('your.qmd', output_format = 'all')
.I am wondering if it would be possible to make this the default behavior. In other words, the only reason I would have
in my YAML header is that I would want to publish to .pdf and .docx. So could the team make it so that both output formats are created, rather than having to specify
output_format = 'all')
?Beta Was this translation helpful? Give feedback.
All reactions