I think we're forwarding self-contained: true to pandoc's embed-resources: true but we're not passing embed-resources directly. This is a bug, right?



### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/3436

<div type='discussions-op-text'>

<sup>Originally posted by **dmacoritto** November 23, 2022</sup>
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.

![image](https://user-images.githubusercontent.com/64702803/203508396-69b6caad-5c76-4fcc-be75-35f636169b31.png)

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 ?

![image](https://user-images.githubusercontent.com/64702803/203509169-6714d2a8-77aa-420f-93bc-7936b9df5bcd.png)

Thank you very much for your help.

Darko</div>
cscheid
2022-11-24T14:38:00Z
cscheid
bug
v1.4
open
embed-resources returns a libs folder
https://github.com/quarto-dev/quarto-cli/issues/3445