Public
Edited
Mar 15, 2023
2 forks
22 stars
Insert cell
Insert cell
Insert cell
Insert cell
markdeep = {
window.markdeepOptions = { mode: 'script', detectMath: false };
const t = (await fetch("https://morgan3d.github.io/markdeep/1.15/markdeep.min.js", new Headers({"Content-Type": "text/javascript"})))
const text = await t.text()
new Function(text)()

return ttemplatify(str => {
const output = window.markdeep.format(str);
return html`
<meta charset="utf-8">
<style>${window.markdeep.stylesheet()}</style>
${output}
`;
});
}
Insert cell
$ = ttemplatify(str => tex`${str}`.outerHTML)
Insert cell
Insert cell
markdeep`${await FileAttachment("markdeep demo@2.txt").text()}`
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