deno.com

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 #

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

Parameters #

#strings: TemplateStringsArray
#<span>...values</span>: unknown[]

Return Type #