Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/cli/tsc/dts/lib.deno.unstable.d.ts>Deno.jupyter.svg

A modern runtime for JavaScript and TypeScript.
Latest
function Deno.jupyter.svg
import { Deno } from "https://deno.land/x/deno@v1.41.0/cli/tsc/dts/lib.deno.unstable.d.ts";
const { svg } = Deno.jupyter;

SVG Tagged Template Function.

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

Example usage:

svg<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"> <circle cx="50" cy="50" r="40" stroke="green" stroke-width="4" fill="yellow" /> </svg>

Parameters

strings: TemplateStringsArray
...values: unknown[]