Published
Edited
May 12, 2022
7 stars
Also listed in…
Tips and Utilities
Insert cell
Insert cell
Insert cell
Markdoc = import("https://cdn.skypack.dev/@markdoc/markdoc")
Insert cell
viewof textarea = Inputs.textarea({
label: "Markdown source",
value: "# Hello Markdoc "
})
Insert cell
ast = Markdoc.parse(textarea);
Insert cell
content = Markdoc.transform(ast, /* config */);
Insert cell
html`${Markdoc.renderers.html(content)}`
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more