I am writing a Quarto markdown file containing both Python and R code. With python, I have a bunch of lines that use Plotly to make interactive plots. However, instead of showing the charts in the output cell of the quarto file, my script always opens the browser and renders the chart. This is not desirable because the plots are missing from the rendered HTML file when we try to render the entire quarto markdown script.
Can someone tell me if it is possible to render the plotly outputs inside the qmd files?
Thanks.