pip install shinylive --upgrade# cd into quarto project folderquarto add quarto-ext/shinylive
# add the following in `_quarto.yml` headerfilters:- shinylive
2 Interactive Shiny App
#| standalone: true: the code represents a complete Shiny application, as opposed to one which has parts spread throughout the document (which will be supported in the future).
#| components: [editor, viewer]: show code editor and viewer side-by-side.
#| layout: vertical: stacking editor and viewer
:::{.column-screen-inset}: the app will take up the whole window width.