Skip to main content
Deno.jupyter.html - Deno documentation
function Deno.jupyter.html
Unstable
html(
strings: TemplateStringsArray,
...values: unknown[],
): Displayable

Show HTML in Jupyter frontends with a tagged template function.

Takes a template string and returns a displayable object for Jupyter frontends.

Examples

Create an HTML view.

const { html } = Deno.jupyter;
html`<h1>Hello, world!</h1>`

Parameters

strings: TemplateStringsArray
...values: unknown[]

Return Type

Back to top