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
-
Description
To give you a background: I have a streamlit website and within that running quarto to render html Report document.
There are some
html
pyvis charts
that is getting generated within my streamlit environment for each user with names likeplot-user_id.html
that I would like to include it quarto rendered html Report output.Using
quarto-cli
I 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 chart
in 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
parameters
to locate/refer relevanthtml files
and embed them inside quarto doc ?I got to know about
iframes
from above links and open for any other way possible.Appreciate any help.
Please suggest.
Beta Was this translation helpful? Give feedback.
All reactions