DescriptionI am trying to render a qmd file and save the output html file into a specific directory, not the current working directory. My qmd file, render_test.qmd, is located in a subdirectory of a RStudio project, and I would like the output to be saved in the "render_out" directory. I tried to specify the --execute-dir argument. But the output is still saved in the current directory. The following command caused an error "ERROR: --output option cannot specify a relative or absolute path". quarto render render_test.qmd --to html --output render_out/test.htmlI know it is possible to move the html file manually after rendering. But It is tedious and easy to make mistakes if many qmd files need to be rendered. Thank you for any helps. |
Answered by
mcanouil
Feb 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Duplicate of #2171.
Please see previous and more extensive discussion about this:
Especially my reply: