Published
Edited
Dec 22, 2020
2 stars
Insert cell
Insert cell
md = {
const md = new MarkdownIt({typographer: true});
return (strings, ...values) => {
let string = strings[0];
for (let i = 0, n = strings.length - 1; i < n; ++i) {
string += `${values[i]}${strings[i + 1]}`;
}
return html`${md.render(string)}`;
};
}
Insert cell
MarkdownIt = require("markdown-it@12/dist/markdown-it.min.js")
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