Published
Edited
Jul 28, 2020
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
transform = markdown => {
const reader = new commonmark.Parser()
const writer = new commonmark.HtmlRenderer({ sourcepos: true })
const document = reader.parse(markdown)
const printedDocument = printDocument(document)
processDocument(document)

const result = writer.render(document)
return { result: result.trim(), document, printedDocument }
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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