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

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[]

Return Type