n-riesco / ijavascript

IJavascript is a javascript kernel for the Jupyter notebook
Other
2.18k stars 187 forks source link

producing HTML programmatically #235

Closed parmentelat closed 3 years ago

parmentelat commented 3 years ago

Hi

I'm trying to have my ijavascript kernel produce html

the IPython kernel comes with tools like the following, so one can programmatically create html contents

from IPython.core.display import display, HTML
display(HTML('<h1>Hello, world!</h1>'))

is there something similar within ijavascript, or how could I go about achieving the same kind of result ?

thanks !

parmentelat commented 3 years ago

oops sorry this is a duplicate...