Public
Edited
Nov 22, 2022
Insert cell
Insert cell
Insert cell
markdeep = {
window.markdeepOptions = { mode: 'script', detectMath: false };
const md = await require("https://morgan3d.github.io/markdeep/0.10/markdeep.min.js");
const unescape = /(\\[$`])/g;

return (strings, ...exprs) => {
let template = '';
for (let i = 0; i < strings.length - 1; i++) {
template += strings.raw[i] + exprs[i];
}
template += strings.raw[strings.length - 1];
template = template.replace(unescape, '`');
const output = window.markdeep.format(template);
return html`
<meta charset="utf-8">
<style>${window.markdeep.stylesheet()}</style>
${output}
`;
};
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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