With the following code in a jupyter notebook containing a single cell with these html elements:
from IPython.display as ipd
import ipywidgets as w
display(ipd.HTML("IPython <b>html</b>"))
display(w.HTML("Widget <i>html</i>"))
with (o := w.Output()):
display(ipd.HTML("<html>Html in a manual <i>Output()</i> widget.</html>"))
display(o)
...and after converting the notebook to a html with this cmd:
jupyter dejavu --to=html exporttest.ipynb
... i get the html-code of the cell as plain text:
The expected content is this screenshot from the rendered notebook (identical to the voila dashboard):
Note that both IPython.core.display.HTML (a DisplayObject class) and ipywidgets.HTML (a widget) fail to render.
With the following code in a jupyter notebook containing a single cell with these html elements:
... i get the html-code of the cell as plain text:![image](https://user-images.githubusercontent.com/501585/229119624-df1d8f93-aa99-4e16-8d2d-c6092541d662.png)
The expected content is this screenshot from the rendered notebook (identical to the voila dashboard):![image](https://user-images.githubusercontent.com/501585/229119884-96c05926-e22b-414e-b4ce-dee832289abe.png)
Note that both
IPython.core.display.HTML
(aDisplayObject
class) andipywidgets.HTML
(a widget) fail to render.Versions installed