embed-resources returns a libs folder #3436
-
Hello everyone, I am trying to switch from RMarkdown to Quarto and I have run into a challenge with the embed-resources YAML option. I would like to output an HTML document which is a standalone document with no dependencies. Below is a screenshot of the YAML options for my document. My issue is that, despite having included the "embed-resources: true" in the YAML, I get an external *_files folder that includes the required libraries to run the document (see below). My charts are indeed embedded in my HTML document but not my libraries. Is there a way to get a complete self-contained document with no dependencies to a *_files folder ? Thank you very much for your help. Darko |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Can you share the quarto version you're running and a .qmd that causes this problem? |
Beta Was this translation helpful? Give feedback.
I think the issue boils down to include
keep-md
in the front matter. Because you're keeping markdown, we are leaving the supporting files on disk, since the markdown may contain references to those files. The HTML file that you're generating should be (and in my testing is) completely standalone with reference to the*_files
directory.If you remove the
keep-md
option, the supporting files directory should be properly cleaned up after render.