Hello Jason, Is there a way to ensure the javascript components work as per the actual > notebooks when the ipynb file has been converted to html? >
In general? No. JavaScript that relies on data stored in the notebook might work. JavaScript that tries to interact with the running kernel will fail, because there is no running kernel when you browse the html of a converted ipynb file. > This seems to be possible from this GitHub directory: > https://github.com/jupyter-widgets/ipywidgets/tree/master/examples/web3 > Instructions there explicitly mention that a notebook server must be running. This is not the case when you look at the html of a converted notebook. Iirc, ipywidgets/widgetsnbextensions have special logic that allows to render captured output even after conversion of the notebook to html. But you cannot expect the widgets to interact with the code in the kernel, as they do when you are running a notebook. cheers, Roland -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/18bfabee-f208-478d-88dc-344989fa4d8f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
