quarto-ext / shinylive

Quarto extension to embed Shinylive for Python applications
https://quarto-ext.github.io/shinylive/
MIT License
141 stars 7 forks source link

Add ability to set `editorHeight` #33

Closed gadenbuie closed 3 weeks ago

gadenbuie commented 7 months ago

In some layouts, in particular the vertical layout, the entire size of the embedded shinylive component is not completely controlled by viewerHeight. For long apps, it would be helpful to be able to limit the number of lines shown, either via an option like editorHeight or editorLines.

gadenbuie commented 1 month ago

I've run into this again and having a long R script (e.g. a single app.R with more than 25 lines) makes shinylive basically unusable in a Quarto page.

I'd recommend we do both: