jupyter-book / myst-theme

Packages for creating MyST websites themes using React and Remix
https://jupyter-book.github.io/myst-theme/?path=/docs/components-introduction--docs
MIT License
15 stars 14 forks source link

Hydrate `ipywidget` and `anywidget` from state on page load #428

Open stevejpurves opened 3 months ago

stevejpurves commented 3 months ago

When a myst site loads we currently don't display ipywidgets and actually strip out the default text/plain and widgets mimebundle, swapping it out with a html placeholder fragment.

This is because we can't display ipywidgets without a kernel, as myst doesn't process the widget state and ensure it is a part of the built content.

Aim of this issue is to track progress on changing this and getting ipywidgets to hydrate on load

TODO: