Replies: 1 comment 1 reply
-
|
Parameters and any computations can only occur in code cells. So generate your iframe code from a code cell. Note: "parameters" are for computations, if you don't have any, don't use parameters, use metadata and the meta shortcode. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
To give you a background: I have a streamlit website and within that running quarto to render html Report document.
There are some
htmlpyvis chartsthat is getting generated within my streamlit environment for each user with names likeplot-user_id.htmlthat I would like to include it quarto rendered html Report output.Using
quarto-cliI am able to provide the names to quarto document.quarto render Report-template.qmd -P corr_net_graph:"{plot-user_id.html}"Within Quarto I am using below code chunk to initialize relevant parameter
Now to include this
html chartin quarto I referred some of these Quarto topics link1 link2 link3.So when I use below code to implement this on a static file name in quarto then it works:
But as in my case as I need to provide a parameter/variable so that it can be dynamically used for all the relevant users and I have used below code for that but it doesn't work:
So how can I use
parametersto locate/refer relevanthtml filesand embed them inside quarto doc ?I got to know about
iframesfrom above links and open for any other way possible.Appreciate any help.
Please suggest.
Beta Was this translation helpful? Give feedback.
All reactions