-
DescriptionI am using Quarto for teaching purposes and am hoping to establish roughly the following directory structure:
For each class meeting in any given course, I would like to be able to generate
Note that in this scenario, the generated materials (i.e., the The problem that I am facing is how to efficiently include images from the Quarto project's shared Of course I could upload the image folder to that web server and try to mimic my local file tree structure there, but this would negate the idea of complete independence of individual class meetings (which is non-negotiable for my intentions). Rather, it would be great to automatically copy the required static resources from the project-wide (My current workaround is to maintain a separate |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Why not use I believe you mean "single document rendering" instead of "standalone" which has a very specific meaning. Could you try in the future to share a bit of code to show/reproduce concretely your setup? |
Beta Was this translation helpful? Give feedback.
-
I am still digging into this in more detail, but will probably open a new issue with reproducible code at a later stage. With regards to this issue here, the key information for me, which I am now marking as an answer, is that resources are auto-copied to the output directory not just for "website" projects, but also for "default" (and probably, in fact, any?) projects. A few notes on @mcanouil's comment that I marked as an answer:
was likely intended to read
Also, note that the
In other words, one can further break down this MWE to the following:
---
title: "Reproducible Quarto Document"
---

project:
output-dir: _output Render via
which yields
What does seem to be essential for the image copy operation to work, however, is the specification of an I'll dig into more details of this and will then likely open a new issue. In particular, I'm looking into whether the location of that |
Beta Was this translation helpful? Give feedback.
Also, the documentation you've linked about resources works inside any project, including default.
document.qmd
_quarto.yml