I love that I can use Quarto to do my data analysis in R or Python and then switch to an OJS chunk to visualise. What would be amazing is if I could render that visualisation in a separate, child HTML file and have that file embedded in the main rendered doc as an `<iframe>`. That way I could still read the rendered document to see the visualisation's analysis context, but I could also embed the visualisation elsewhere if I uploaded the rendered output to a server (in a similar fashion to the way the hosted Observable service allows you to embed a single chunk from a notebook elsewhere). The default would be the current behaviour, where the chunk output is inlined.

This would have implications for overall file size, as well as whether Quarto styles and other dependencies are duplicated across files, but I think it would really open up some other use cases!
2022-03-10T23:37:35Z
jimjam-slam
closed
Feature request: option to render chunk as separate HTML file and embed as iframe
https://github.com/quarto-dev/quarto-cli/issues/400