Closed cpsievert closed 7 months ago
Notable cases of this would be folium, itables, and pyecharts.
As pointed out in https://github.com/posit-dev/py-shiny/issues/303#issuecomment-1517353668, shiny's @render.ui should probably know to do ui.HTML(x._repr_html_()) and I suppose @render_widget could do the same (maybe with a warning that points to using @render.ui
@render.ui
ui.HTML(x._repr_html_())
@render_widget
Notable cases of this would be folium, itables, and pyecharts.
As pointed out in https://github.com/posit-dev/py-shiny/issues/303#issuecomment-1517353668, shiny's
@render.ui
should probably know to doui.HTML(x._repr_html_())
and I suppose@render_widget
could do the same (maybe with a warning that points to using@render.ui