Can Quarto generate HTML output as a SINGLE file (and not an HTML file + folder) #2666
-
I use For Quarto HTML output, it seems to save as an HTML file and folders containing the figures and libraries (CSS, JS) to display. It's going to be much harder to distribute the reports to my non-technical colleagues if I have to ask them to save BOTH files to a single location, uncompressing the .gz folder of files, etc. I much prefer the potential interactivity of HTML output, compared with, say, PDF or MS Word/docx. Is there a way to save the output in one giant HTML file? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
If you set https://quarto.org/docs/output-formats/html-basics.html#self-contained |
Beta Was this translation helpful? Give feedback.
If you set
self-contained: true
in the document front matter, Quarto should place all the references within the HTML file itself (it sounds like what you're looking for. More here:https://quarto.org/docs/output-formats/html-basics.html#self-contained