Skip to content

Rendering HTML in cell output #7

@lihebi

Description

@lihebi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions