Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

Show Markdown in Jupyter frontends with a tagged template function.

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

Examples

Create a Markdown view.

const { md } = Deno.jupyter;
md`# Notebooks in TypeScript via Deno ![Deno logo](https://github.com/denoland.png?size=32)

* TypeScript ${Deno.version.typescript}
* V8 ${Deno.version.v8}
* Deno ${Deno.version.deno}

Interactive compute with Jupyter _built into Deno_!
`

Parameters

strings: TemplateStringsArray
...values: unknown[]