The python kernel supports outputing HTML via the IPython.display module:
from IPython.core.display import display, HTML
display(HTML('<h1>Hello, world!</h1>'))
In Julia, one can do the same thing via (from this post):
display("text/html", "<script>alert('hello')</script>")
I see iracket already supported rendering images, but I'm not sure how it is implemented. Maybe expose some API for HTML rendering? My use case is to generate some file links for downloading.
The python kernel supports outputing HTML via the IPython.display module:
In Julia, one can do the same thing via (from this post):
I see iracket already supported rendering images, but I'm not sure how it is implemented. Maybe expose some API for HTML rendering? My use case is to generate some file links for downloading.